web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

how to query choice sets/option sets/global sets values

(0) ShareShare
ReportReport
Posted on by 47

I need to run a one time export of 40 tables from Dataverse and using Azure Data Factory. In this export need to include the choice sets/option sets/global sets from these tables but there is no point in turning on change tracking just for this, therefore cannot create link to synapse and get the json files (so Access Dataverse choice labels directly from Azure Synapse Link for Dataverse - Power Apps | Microsoft Docs  DOES NOT work for me). I need another solution. 
Since ADF is using FetchXML, would help to be able to get these values in fetchXML, but not able to. Ex below: for account table the response does not return any values below (just the accountid)

<fetch mapping="logical" count="10" version="1.0" >
<entity name="account" >
<attribute name="accountclassificationcodename" />
<attribute name="accountratingcodename" />
<attribute name="address1_addresstypecodename" />
<attribute name="address1_freighttermscodename" />
<attribute name="address1_shippingmethodcodename" />
<attribute name="address2_addresstypecodename" />
<attribute name="address2_freighttermscodename" />
<attribute name="address2_shippingmethodcodename" />
</entity>
</fetch>

How else can I query the values for the  choice sets/option sets/global sets from all these tables that I need to get in this one time 40 tables data export?

Many thanks,

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Please check below article on how to retrieve optionset text .

    docs.microsoft.com/.../get-dynamics-365-optionset-labels-in-copy-activity.html

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans