Skip to content

Instantly share code, notes, and snippets.

@DynCon365
Last active April 4, 2018 20:21
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/f31b6dc41faa9ffe9795c879b603ab2f to your computer and use it in GitHub Desktop.
Save DynCon365/f31b6dc41faa9ffe9795c879b603ab2f to your computer and use it in GitHub Desktop.
Dynamics 365/CRM | Get the text of an Option Set
// Get the text of the Opportunity Status Reason field
var statusReason = Xrm.Page.data.entity.attributes.get("statuscode").getText();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment