Pages

Tuesday, 7 August 2012

Set attribute requirement level using javascript in CRM 2011


In this article , I am going to explain how to set attribute requirement level using javascript

Requirement level setting
Xrm.Page.getAttribute("attributename").setRequiredLevel("none");
Xrm.Page.getAttribute("attributename").setRequiredLevel("required");
Xrm.Page.getAttribute("attributename").setRequiredLevel("recommended");

No comments:

Post a Comment

Note: only a member of this blog may post a comment.