CiviMRF / cmrf_core

Drupal Core for CMRF
GNU Affero General Public License v3.0
2 stars 6 forks source link

Webform integration: select options from CiviCRM #2

Closed bjendres closed 6 years ago

bjendres commented 6 years ago

Extend the cmrf_webform module so that select option sets used for webform select components can be created based on arbitrary CiviCRM API calls.

bjendres commented 6 years ago

@jaapjansma: @jensschuppe has already implemented it, push is coming up...

jaapjansma commented 6 years ago

great!

jensschuppe commented 6 years ago

Branch 7.x-dev_2 implements configurable CiviCRM API calls, whose results can be used as pre-built select options for Webform select components. Definitions of such select option sets are global and overridable per CMRF core profile. The profile used for submission via CiviMRF Webform integration is also used for retrieving select options for select components on that Webform node. An additional API parameter _cmrf_language is submitted for the CiviCRM instance to deliver localized results (e.g. using an API wrapper for custom APIs). Reviews welcome before merging with 7.x-dev.

jensschuppe commented 6 years ago

See PR #4.