How to pass Entity GUID and Entity Type to Custom Applications hosted in IFRAME
Passing Entity Unique identifier (GUID) and Entity Type to Custom application hosted in IFRAME is a two step process.
- Open the IFRAME properties window and click checkbox named: Pass record object type and unique identifier as parameters.
2. Now you need to specify in your custom application variable for both. For Entity Type use ObjectTypeCode (Gets the integer code of the entity that the form is displaying (1 = Account, 2 = Contact, and so on). And for Entity unique identifier use ObjectId (Gets the entity GUID that the form is displaying. This property returns null if the form is in Create mode). Both these variable are now accessible to your custom application through query string parameters.