New answers tagged

1

I could not recreate this. The most simple solution was to make a new field and then import the old data into the new field.


2

Yes, I have such an extension - and so do many others! I think mine is the most functionally advanced, but lacks a UI, or, uh, documentation (oops), and so is unsuitable in most use cases. If you're interested, I can ask one of my staff members to write some documentation on this today, but broadly: This creates two new entities (with full APIs): ...


0

One approach would be to use Activities. Set up a custom Activity with the required fields for Program, Year etc Another approach might be Multiple Record custom field


0

You probably want the UFField entity, not Profile ... try: entity=UFField&action=get&api_key=userkey&key=sitekey&json={"sequential":1,"profile_id":22} Then you can chain getfield: entity=UFField&action=get&api_key=userkey&key=sitekey&json={"sequential":1, "uf_group_id":22, "api....


0

You could also check out https://doc.symbiotic.coop/dev/civicrm/latest/schema/index.html which is derived using SchemaSpy per the answer here https://civicrm.stackexchange.com/a/20160/96


1

You could start with API Explorer v4: Set the Entity to CustomGroup and Action to get. In the Chain section, set Entity to CustomField and Action to get. The next box should autopopulate to {where: [[custom_group_id, =, $id]]} Basic example From there, you can limit the fields returned both for the CustomGroup and the CustomFields and maybe sort them. ...


0

If you are not developers, you can hire one from https://civicrm.org/partners-contributors, including ErikH or Jon G (or us ;) ).


1

One option is to use https://www.drupal.org/project/webform_conditional_values with Webform-CiviCRM integration if the ID is known before submission. If it's not available until after submission, you'll need to write code. Erik suggests one way, you could also write a Drupal module to push it to Civi.


1

You will probably need to develop an action that can take that ID from the data coming into the action and set it. There is a standard action to update a custom field (Set Custom Field) but it will ask for a value and will not be able to pick up the value from the input just like that. Developing your own action is documented here: https://docs.civicrm.org/...


0

Thanks mmk. I also encountered this issue on CIVICRM5.21.2/Wordpress 5.4.2. This phenomena appeared to me when I tried to find duplicates using a dedupe rule based on a custom field. it would crash at WP end. I followed you instruction above and it works, only slight modification to your instruction that it the check should be inserted after line 61 where ...


Top 50 recent answers are included