Last active
April 4, 2018 20:18
-
-
Save DynCon365/b09ef95712c4eb6e0e9498984a736a93 to your computer and use it in GitHub Desktop.
Dynamics 365/CRM | Set the value of a Bit field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the value of a custom "Is Decision Maker" checkbox to checked | |
Xrm.Page.data.entity.attributes.get("new_isDecisionMaker").setValue(1); | |
// Set the value of a custom "Is Decision Maker" checkbox to unchecked | |
Xrm.Page.data.entity.attributes.get("new_isDecisionMaker").setValue(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment