Is the upgrade from Xrm.Page version I found elsewhere?
formContext.ui.controls.forEach(function (control, i) {
if (control && control.getDisabled && !control.getDisabled()) {
control.setDisabled(true);
}
});
And if I wanted to limit this to just the attribute controls, how do I use this feature I found in the documentation:
formContext.data.entity Attribute.controls
Tia