set disable all of Form fields

function disableFormFields(onOff) {
        Xrm.Page.ui.controls.forEach(function (control, index) {
            if (doesControlHaveAttribute(control)) {
                control.setDisabled(onOff);
          }
    });
}

Yorumlar

Bu blogdaki popüler yayınlar

CRM Sayfalarının üzerinde gelen uyarı yazılarını değiştirme

Microsoft Dynamics CRM REAL TİME WORKFLOW (PLUGİN YERİNE KULLANACAĞIZ)

Changing default value of the search criteria of Articles in ms crm