I am using Azure Data Factory to load a table with data from Dynamics 365 Customer Engagement. But I don't know how to get the value of fields that are option sets. Any ideas on how to do this?
Yes, I can help you with that.
Option set fields in Dynamics 365 Customer Engagement are represented by integers, where each integer corresponds to a specific option value. To get the value of an option set field in Azure Data Factory, you can use the following steps:
expand=new_rating($select=Label)
replace('new_rating', toString(new_rating), new_rating_Label)
With these steps, you should be able to retrieve and load the label values for option set fields in Dynamics 365 Customer Engagement using Azure Data Factory.
Hello,
Try to check the StringMap table for the corresponding labels.
Yes, I have the numeric values, I want to get labels for option sets. Is there any way to dynamically obtain the corresponding label with the numeric value?
Hello Fransisco,
Do you mean how to get labels for option sets? I'm pretty sure the numeric values are returned.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156