Dela via


Pass parameters to a URL using the SiteMap

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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> (SiteMap) element in the site map. All the parameters are passed if the <SubArea> (SiteMap) 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:  Pass parameters to HTML web resources

See Also

Change application navigation using the SiteMap
Edit the site map
SiteMap XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright