CRM 2011 java script changes for rollup 12 13

Here you can get all java script changes which you have to change to migrate from crm2011 rollup11 to rollup 12/13.

Java Script for disabling filter lookup view selector :-

Java Script for disabling filter lookup view selector :-

For Rollup 11,

document.getElementById(“Lookup Id”).disableViewPicker = 1;

For Rollup 12,13 for cross browser support.

document.getElementById(“Lookup Id”)._behaviors[0].AddParam(“DisableViewPicker”, “1”);

document.getElementById(“Lookup Id “)._behaviors[0].set_showProperty(1);

Java Script for hiding New Button :-

For Rollup 11,

document.getElementById(“Lookup Id”).disableViewPicker = 1;

For Rollup 12,13 for cross browser support.

document.getElementById(“Lookup Id”)._behaviors[0].AddParam(“ShowNewButton”, “0”);

document.getElementById(“Lookup Id”)._behaviors[0].set_showProperty(0);

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