"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу

Wednesday, 30 October 2013

How to Set Requirement Level in CRM 2013 using javascript OR Required, Recommended Setting in CRM 2013 using javascript

In CRM 2013, we could set the requirement level on the attribute using javascript.
 
Syntax:
Xrm.Page.getAttribute(arg).setRequiredLevel(requirementLevel)
requirementLevel property could have any of the following 3 values.
  • none
  • required
  • recommended
( Ref: CRM 2013 SDK)
For instance,
Xrm.Page.getAttribute("creditlimit").setRequiredLevel("required");

No comments:

Post a Comment