will this work for 2016 ?
is above mentioned reference are default available in crm 2015 and above ??

Microsoft Dynamic xRM

Some case you want to set read only for all field in the forms. It will take time to set field by field. This is small tip for marking all field as read only in MS CRM form.

/// <reference path=”rbei_PACrm.Sdk.js” />

/// <reference path=”../PACRM2011/XrmPageTemplate.js” />

function MarkAllFieldReadOnly() {

Xrm.Page.ui.controls.forEach(function (control, index) {




catch (e)





Hope it will be useful for someone.

View original post


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s