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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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//>
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 166 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#2
NeerajPawar Profile Picture

NeerajPawar 51

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans