Skip to content

Instantly share code, notes, and snippets.

@DynCon365
Created April 4, 2018 17:41
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/ae22db16c6ebf2a9cddcdd7f10a53d27 to your computer and use it in GitHub Desktop.
Save DynCon365/ae22db16c6ebf2a9cddcdd7f10a53d27 to your computer and use it in GitHub Desktop.
Dynamics 365/CRM | Get value of a text field
// Get the value of a Contact's first name
var firstName = Xrm.Page.data.entity.attributes.get("firstname").getValue();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment