function DisableFields() {
Xrm.Page.ui.controls.forEach( function (control) {
control.setDisabled(true);
}
);
}
function DisableSingleField() {
// for future
Xrm.Page.ui.controls.get(" name").setDisabled(true)
}
Xrm.Page.ui.controls.forEach(
control.setDisabled(true);
}
);
}
function DisableSingleField() {
// for future
Xrm.Page.ui.controls.get("
}