This documentation is archived and is not being maintained.

Passing Parameters to an IFRAME

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Passing parameters to the target of an IFRAME is a way to provide the target application with information about the context of the IFRAME or the user. All the parameters are passed if the IFRAME is configured using the Pass record object-type code and unique identifier as parameters option.

You can indicate whether an IFRAME passes the following parameters:

typenameEntity NameThe name of the entity. For custom entities this includes the customization prefix "new", as in "new_entityname".
typeEntity Type CodeAn integer that uniquely identifies the entity.
idObject GUIDThe GUID that represents a record.
orgnameOrganization NameThe unique name of the organization.
UserLCIDUser Language CodeThe language code identifier in use by the current user.
OrgLCIDOrganization Language CodeThe language code identifier that represents the base language for the organization.

Language codes are four- or five-digit Locale IDs. Valid Locale ID values can be found at Locale ID (LCID) Chart.

Note    It is best to use the entity name rather than the type code because the entity type code may be different between Microsoft Dynamics CRM installations.


Without parameters:


With parameters:


Reading Passed Parameters

Passed parameters are commonly read in the target .aspx page using the HttpRequest.QueryString property. In an .htm page the parameters can be accessed using the property in JavaScript. For more information, see: and

See Also

Other Resources

© 2010 Microsoft Corporation. All rights reserved.