
上QQ阅读APP看书,第一时间看更新
Passing parameters to a URL from the site map
As we saw earlier, the Subarea component has a Parameter Passing checkbox property. It specifies whether to pass information about the organization and language context to the URL. The property is only available for Subareas of type web resource or URL. Suppose we have the following URL defined in our URL property of Subarea:
http://mydomain/mypage.aspx.
Checking the Parameter Passing checkbox will pass the following parameters to it:
http://mydomain/mypage.aspx/?orglcid=1033&orgname=org29d341dd&userlcid=1033.
- orglcid: language code identifier of the base language of the organization
- orgname : unique name of the organization
- userlcid: language code identifier used by the current user
This information could be used to create solutions that support multiple languages.
Creating solutions that support multiple languages is detailed at https://msdn.microsoft.com/en-us/library/hh670609.aspx#Anchor_0.