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");
Sometimes it can be required/useful to include a URL to a record, for example when creating a task/email that is regarding the parent reco...
No comments:
Post a Comment