3

According to https://lab.civicrm.org/dev/core/issues/766 this looks like it has now been fixed.


2

I wasn't able to figure this out so data is Fetched directly into CiviCRM. However, I ended up using Drupal EntityQuery and fetched the data into a webform then Used Javascript PopUp Feature and parsed the data back into the CiviCRM form using Jquery. Thanks


2

On which forms do you wish to add the fields/logic? I feel like there are two questions here: 1) How to build an arbitrary list of options from a third-party source of data (Drupal) 2) How to set the value of one field based on the value of another fields. For (1), arbitrary lists, you can look into hook_civicrm_fieldOptions, which can dynamically modify ...


2

There are different tokens that can be selected in the message template to populate user details in the email. For custom fields, you can probably use {event.custom_<custom_field_id>} More about tokens - https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge/


2

As I haven't seen your code, I can only suggest what worked for me: function myext_civicrm_fieldOptions($entity, $field, &$options, $params) { if ($entity == 'Contribution') { if (isset($field) && $field == 'mycustomfield_123') { $myArray = [ 1 => 'Title 1', 2 => 'Title 2' ]; $options = $myArray; ...


1

Can you explain a little more what you are after in what circumstances? Generally speaking: when in a form Custom Data I would expect to see something like entityId or _entityID. Depending on the defintion of the custom group this would be the contact_id (or membership or activity etc.)


1

Judging from the whitespace you've found in the images 'code' this is the same issue as another I've had regarding contact images not working and Mosaico images not working so I'm just going to copy most of an answer from another question that I answered which the same fix: So I've found this issue is due to a rogue module or theme in Drupal that has ...


Only top voted, non community-wiki answers of a minimum length are eligible