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:

Parameter Name Description
typename Entity Name The name of the entity. For custom entities this includes the customization prefix "new", as in "new_entityname".
type Entity Type Code An integer that uniquely identifies the entity.
id Object GUID The GUID that represents a record.
orgname Organization Name The unique name of the organization.
UserLCID User Language Code The language code identifier in use by the current user.
OrgLCID Organization Language Code The 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.