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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Field Properties - What is the purpose of the "Value" field?

(0) ShareShare
ReportReport
Posted on by 50

Hi all,

Could someone please explain the purpose behind the "Value" field highlighted in the screenshot below?

What is the logic behind the numbering in this field? How to make sure that the data I enter will not interfere with future data?

Thanks,

Matt

Field-Edits.JPG

I have the same question (0)
  • Verified answer
    SErf Profile Picture
    659 on at
    RE: Field Properties - What is the purpose of the "Value" field?

    Hi, 

    • in the database the values for Option Sets are stored as Integers
    • in theory they could interfere
    • each solution has their own prefix (10000 in your case) which is chosen at creation of a solution and is tied to a publisher
    • each publisher therefor has its own prefix and hopefully the prefixes dont overlap
    • also note that each new option set would start at 100000001 again, so this is not a global incrementing value but it is only specific to the very same option set
    • this makes overlaps highly unlikely - but possible. 
    • the Solution Layer order will define which solution is applied last and therefor would be the "counting" one

    Cheers

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Field Properties - What is the purpose of the "Value" field?

    Hello Matt ,

    Again answering your question , here the field type is Optionset , which means you can have multiple options in a single field and can choose only one at  a time . The reason behind of the value field is to make uniqueness and to refer particular text value in the back-end. For example you may change the label/Text easily but  in the backed value of the particular optionset text can remain same .  In another scenario lets suppose your CRM can access from different region with different language so in that case you may see different text  for each options but in the backend option set value will remain same. This could also helps developer to easily maintain the enumeration.

  • Suggested answer
    RakeshJ Profile Picture
    on at
    RE: Field Properties - What is the purpose of the "Value" field?

    Hi Matt,

    In an Optionset field, a value is uniquely assigned to each options which helps us to locate/access that specific option instead of using the name of that option.

    When a form containing the optionset field is loaded, it validates the options and OptionsetValue defined for each options and can lead to issues if we don't have a value defined. That is why it is important to note that each options should have a value defined.

    This is also helpful when writing a Plugin/Javascript where we can retrieve or call any options from that optionset field based on values.

    docs.microsoft.com/.../microsoft.xrm.sdk.optionsetvalue

    If this is helpful, kindly mark this as verified.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 235

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 175

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 156 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans