Shortcut to open any record in CRM

By | February 16, 2009
There are a couple of generic urls that would let you open any type of record in CRM

  • If you need to open any type of record but don’t know the URL. No worries just specify object type code (you can get object type code from CRM SDK under section” Entity Type Codes”) and ID it will open your record. (Note that the parameter names are case sensitive here)

http://server:port/organization/CRMReports/viewer/drillopen.aspx?ID=objectid&OTC=objecttypecode

  • To open a record in ReadOnly mode

http://server:port/organization/_forms/readonly/readonly.aspx?objTypeCode=objecttypecode&id=objectid

You can call these from anywhere in CRM and it will identify the entity and open the relevant entity form. This does away the need or specifying url specific to the entity.