Sync Choices column to Spotler

by Mar 1, 2023

Choices column

In Dynamics 365 CRM / Power Apps we can define a column that allows a selection of multiple options. This is called the Choices column. Compare this with the Choice column which only allows one choice. This column is also known as MultiSelect Option Set or MultiSelect Picklist.

Visually the column looks like comma separated string:

But when you edit the Choices column, you can (de)select multiple choices (options):

This gives an easy and quick way for the user to select multiple choices.

One downside is that the list of choices can’t be changed easily. An administrator or solutions customizer needs to change this and publish it. If you have multiple environments, you also need to deploy the solution.

Another downside is related to integrating and reporting. The way this column type is being stored, makes it more work for this scenarios. The column is stored as text with a semicolon separated list of Choice id’s like:

interest@OData.Community.Display.V1.FormattedValue: "Marketing; Sales",
interest: "810510003,810510013",

This will give you the id’s of the selected Choices (and the names of these as added FormattedValue), but not the deselected Choices. These need to be queried from the metadata.

Spotler Set (Lijst) field

The Choices column would be a perfect candidate to synchronize to a Set (Lijst) field in Spotler. For example, the Interesses field:

In the Settings section in Spotler you can view and change this field:

From there you have the option to change the Set (Lijst) items to you whishes:

Syncing to Spotler

The connector can now synchronize to this field, the Set (Lijst) field. We enable and/or disable the items in Spotler, based on the Choices column in Dynamics 365 CRM.

This also works the other way around. When a customer updates his interest in Spotler, this will be synced back to Dynamics 365 CRM.

Optionally you can also synchronize the Choices column to a Text (Tekst) field, where it will be stored as semicolon separated text.

Remy van Duijkeren

Remy van Duijkeren

Power Platform Advisor

Microsoft Power Platform Advisor with over 25 years of experience in IT with a focus on (marketing) automation and integration.

Helping organizations with scaling their business by automating processes on the Power Platform (Dynamics 365).

Expert in Power Platform, Dynamics 365 (Marketing & Sales) and Azure Integration Services. Giving advice and strategy consultancy.

Services:
– Strategy and tactics advise
– Automating and integrating

Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Confirmation Dialog when syncing Marketing Lists

Confirmation Dialog when syncing Marketing Lists

You can synchronize Marketing Lists using the Spotler Connector from Dynamics 365 to Spotler. You do this by clicking on the Sync to Spotler button. Normally this will synchronize the Marketing List immediately by creating a Spotler Job in the background. Contacts on...

read more
Tagging & Scoring

Tagging & Scoring

The Spotler Connector has been extended with new operations to do tagging & scoring of contacts in Spotler. You can use this to segment your contacts and to determine the value of your contacts. This way you can send more targeted and relevant messages to your...

read more
Anonymize and Deactivate contacts

Anonymize and Deactivate contacts

The Spotler Connector already supported Purging Contact from Spotler. We now have added two new operations to replace the Purge Contact operation, the Anonymize Contact and Deactivate Contact operations! Purge Contact The Purge Contact operation was created for GDPR...

read more