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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 156 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans