Passing Parameters to a URL Using SiteMap

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Passing parameters to the target URL for a subArea element in Sitemap is a way to provide the target application with information about the organization and the language context of the user and the organization. All the parameters are passed if the subArea element is configured by using the PassParams attribute.

You can indicate whether a subArea passes the following parameters:

Parameter Name Description
orgname Organization Name The unique name of the Organization.
userlcid User Language Code Represents the language code identifier that is used by the current user.
orglcid Organization Language Code The language code identifier representing 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.

Example

Without parameters:

http://myserver/mypage.aspx

With parameters:

http://myserver/mypage.aspx?orgname=AdventureWorksCycle&userlcid=1033&orglcid=1033

Reading Passed Parameters

Passed parameters are usually read in the target .aspx page by using the HttpRequest.QueryString property. For more information, see: msdn2.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx.

See Also

Other Resources

© 2010 Microsoft Corporation. All rights reserved.