Skip to content

Instantly share code, notes, and snippets.

@DynCon365
Last active April 4, 2018 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DynCon365/61a412a23c8b7f694a7f70497b28687f to your computer and use it in GitHub Desktop.
Save DynCon365/61a412a23c8b7f694a7f70497b28687f to your computer and use it in GitHub Desktop.
Dynamics 365/CRM | Get the value of an Option Set
// Get the value of the Opportunity Status Reason field
var statusReason = Xrm.Page.data.entity.attributes.get("statuscode").getValue();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment