Dynamics 365 JavaScript Set Desactivado

Xrm.Page.getControl("fieldname").setDisabled(true);
Bekir kaya