Announcements
No record found.
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?
Hello Fransisco,
Do you mean how to get labels for option sets? I'm pretty sure the numeric values are returned.
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,
Try to check the StringMap table for the corresponding labels.
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 189 Super User 2026 Season 1
CU11031447-0 100
NeerajPawar 66