Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-632

Import Contacts and Contributions - Support for Multiple Option Values

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      Import and API users need to be able to populate multiple option values for custom fields which support them (checkbox and multi-select).

      Modify the field validation and insert values code for custom fields of these two html types so that it handles a quote-delimted, comma-separated list of option values. Sample input row might look like this (the 3rd column maps to our sample GOTV Experience custom checkbox field):

      Greg,Heller,"House Party,Phone Banking,Speakers Bureau",gregory@civicactions.com

      Validation code needs to read through the option values in the list and validate against civicrm_custom_option values for that field.
      Insert / Update code needs to insert the values with the proper internal delim character, for example: PB?PW?SB

      This should be functional for Contact Import, Contrib Import (custom fields that extend Contribution), and the create and update contact API's.

      Attached file can be used to test Contact Import w/ sample custom field setup.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: