If you just want to change how the field is labeled on the form, you can do:
Xrm.Page.getControl("ControlName").setLabel("New Label");
var formContext = executionContext.getFormContext();
formContext.getControl("new_name").setLabel("Name");
Let us see it in action using a sample project. Launching the test harness, we can see the init executed followed by updateView . Makin...
No comments:
Post a Comment