Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Fetch XML to get the labels, but not the values

(1) ShareShare
ReportReport
Posted on by 11
I've made a Fetch XML to get the data from the Form.
I would like to get the labels of the Option set with two Options - Yes and No.
What changes should I make to get the Yes and No options, but not values - True and False as a result.
 
Now I am using such a variant - <attribute name=/abc_name//>
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Fetch XML to get the labels, but not the values
    Hi Partner,
    If you want to get lables of choice fields through Fetch XML, you need retrieve stringmap entity.
    String map table basically used in MSCRM for storing the details of Option Set Fields exists in an organization.
    It contains all the data (Attribute Name, Option Set name, option value , option name, Object Type Code) of option set.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans