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.
https://myserver/mypage.aspx
The following sample shows the URL with parameters.
https://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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應