Tuesday, November 1, 2011

Set Required Level for attributes in MS CRM 2011

sometimes we need to make the attributes required level on basis of some logic.
so in javascript we can do as follows

Xrm.Page.data.entity.attributes.get("AattributeName>").setRequiredLevel("<requirementLevel>");

teh avlues are
One of the following values:


none
required
recommended

No comments:

Post a Comment