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
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