• Resolved chiragagarwal

    (@chiragagarwal)


    First of all, this is a wonderful extension!

    Quick question about mapping data in multi-select picklist on Salesforce and Array field on Custom Post Type Meta on WP.

    On our WordPress Custom Post Type, the values are stored in this format:

    Array
    (
        [0] => Monday
        [1] => Tuesday
        [2] => Wednesday
        [3] => Thursday
        [4] => Friday
        [5] => Saturday
        [6] => Sunday
    )

    However, I believe Salesforce supports multiselect picklist value in this format:
    Monday; Tuesday; Wednesday; Thursday; Friday; Saturday

    Is there a way in this extension to map this correctly in field mapping so it works both ways?

    (We are using JetEngine to create CPTs)

    • This topic was modified 3 years, 6 months ago by chiragagarwal.
Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Yes, that is how Salesforce takes multiselect values. There’s a bit of documentation about how it works in this plugin. For most cases, if you create a multicheckbox, it will be sent to Salesforce as a multiselect.

    I’m not familiar with JetEngine, so it might work differently. If it does, you can use the object_sync_for_salesforce_push_params_modify filter to format the data before WordPress sends it to Salesforce.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiselect Picklist Mapping’ is closed to new replies.