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
Hi,
Cheers
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 235
MVP-Daniyal Khaleel 175
Tom_Gioielli 156 Super User 2025 Season 2