Export (0) Print
Expand All

Passing Parameters to an IFRAME

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

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:

ParameterNameDescription
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.

Example

Without parameters:

http://myserver/mypage.aspx

With parameters:

http://myserver/mypage.aspx?type=1&typename=account&id={DBD5DBFB-0666-DC11-A5D9-0003FF9CE217}&orgname=AdventureWorksCycle&userlcid=1033&orglcid=1033

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 window.location.search property in JavaScript. For more information, see: msdn2.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx and msdn2.microsoft.com/en-us/library/ms534620.aspx.

See Also

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft