Pass parameters to a URL using the SiteMap

To give the target application information about the organization and the language context of the user and organization, pass parameters to the target URL for a <SubArea> element in the site map. All the parameters are passed if the <SubArea> element is configured by setting the PassParams attribute to true.

The following table shows the parameters that are passed.

Parameter Name Description
orgname Organization Name Unique name of the organization.
userlcid User Language Code Language code ID that is used by the current user.
orglcid Organization Language Code Language code identifier that represents the base language for the organization.

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

Example

The following sample shows the URL without parameters.

http://myserver/mypage.aspx  

The following sample shows the URL with parameters.

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

Reading passed parameters

Webpage (HTML) web resources will accept these parameters. More information: Passing parameters to HTML web resources

See also

Change Application Navigation using the SiteMap
SiteMap schema