Skip to main content
edited title
Link
KarinG - Semper IT
  • 15.2k
  • 1
  • 13
  • 44

Custum Custom Fields for Activities not getting Prefilled by a Drupal Webform

edited body; edited title
Source Link

Custum Fields for Activities not getting PrefiledPrefilled by a Drupal Webform

When I setup a webfromwebform to update existing activities, and I give it cid and activity1 parameters in the URL, the webfromwebform loads up contact information and core activity information, but not the custom fields data. The custom fields just stay blank.

My first instinct was to re-examine the permissions, but this is the administrator account (with all Drupal permissions checked), additionally I added the Civicrm ACL permission to view/edit the custom field (not that this should matter) but the issue persists. I can add activities and custom data just fine, display the data using Views, but custom field data just doesn't load up in the webform, it's blank.

How would I go about debugging this? Am I missing something obvious?

I tried to recreate the issue on another instance with the same version of Civi and Drupal, but I couldn't do it, everything just works there.

Civicrm 5.20.0 | Drupal 7.72 (modules up to date) | PHP 7.1.33

Custum Fields for Activities not getting Prefiled by a Drupal Webform

When I setup a webfrom to update existing activities, and I give it cid and activity1 parameters in the URL, the webfrom loads up contact information and core activity information, but not the custom fields data. The custom fields just stay blank.

My first instinct was to re-examine the permissions, but this is the administrator account (with all Drupal permissions checked), additionally I added the Civicrm ACL permission to view/edit the custom field (not that this should matter) but the issue persists. I can add activities and custom data just fine, display the data using Views, but custom field data just doesn't load up in the webform, it's blank.

How would I go about debugging this? Am I missing something obvious?

I tried to recreate the issue on another instance with the same version of Civi and Drupal, but I couldn't do it, everything just works there.

Civicrm 5.20.0 | Drupal 7.72 (modules up to date) | PHP 7.1.33

Custum Fields for Activities not getting Prefilled by a Drupal Webform

When I setup a webform to update existing activities, and I give it cid and activity1 parameters in the URL, the webform loads up contact information and core activity information, but not the custom fields data. The custom fields just stay blank.

My first instinct was to re-examine the permissions, but this is the administrator account (with all Drupal permissions checked), additionally I added the Civicrm ACL permission to view/edit the custom field (not that this should matter) but the issue persists. I can add activities and custom data just fine, display the data using Views, but custom field data just doesn't load up in the webform, it's blank.

How would I go about debugging this? Am I missing something obvious?

I tried to recreate the issue on another instance with the same version of Civi and Drupal, but I couldn't do it, everything just works there.

Civicrm 5.20.0 | Drupal 7.72 (modules up to date) | PHP 7.1.33

Source Link
Marko
  • 897
  • 5
  • 18

Custum Fields for Activities not getting Prefiled by a Drupal Webform

When I setup a webfrom to update existing activities, and I give it cid and activity1 parameters in the URL, the webfrom loads up contact information and core activity information, but not the custom fields data. The custom fields just stay blank.

My first instinct was to re-examine the permissions, but this is the administrator account (with all Drupal permissions checked), additionally I added the Civicrm ACL permission to view/edit the custom field (not that this should matter) but the issue persists. I can add activities and custom data just fine, display the data using Views, but custom field data just doesn't load up in the webform, it's blank.

How would I go about debugging this? Am I missing something obvious?

I tried to recreate the issue on another instance with the same version of Civi and Drupal, but I couldn't do it, everything just works there.

Civicrm 5.20.0 | Drupal 7.72 (modules up to date) | PHP 7.1.33