disableformFields(executionContext);
function disableformFields(executionContext) {
var formContext = executionContext.getFormContext();
var formControls = formContext.ui.controls;
formControls.forEach(control => {
if (control.getName() != "" && control.getName() != null) {
control.setDisabled(true);
}
});