Quantcast
Viewing latest article 44
Browse Latest Browse All 130

CRM2011: CRM 4 CRM GRID javascript code change on Upgrade to CRM 2011

Currently upgrading a large UK charity to CRM 4 from CRM 2011, one of the issues we have come accross recently is that the CRM Grid object on the advanced Find search results has had its object ID changed.

In CRM 4, this id is CrmGrid the main lists and in the advanced find search results.  however in CRM 2011, the advanced find search results has changed to CrmGridControl.

if you have code that uses this ID i would advise using the following code to distinguish between the main list and the advanced find list for all ISV buttons using the selected records of the grid.


if (document.getElementById("crmGridControl") !=null)
{             
 crmGrid = document.getElementById("crmGridControl");
}


This way either the crmGridControll or the CrmGrid will be picked up.

Enjoy

Jonathan

 

 


Viewing latest article 44
Browse Latest Browse All 130

Trending Articles