title | description | author | ms.author | ms.date | ms.reviewer | ms.topic | applies_to | search.audienceType | contributors | ||
---|---|---|---|---|---|---|---|---|---|---|---|
prependOrgName (Client API reference) in model-driven apps| MicrosoftDocs |
Includes description and supported parameters for the prependOrgName method. |
adrianorth |
aorth |
03/12/2022 |
jdaly |
reference |
Dynamics 365 (online) |
|
|
Prefixes the current organization's unique name to a string, typically a URL path.
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.prependOrgName(sPath);
Name | Type | Required | Description |
---|---|---|---|
sPath |
String | Yes | A local path to a resource. |
Type: String
Description: A path string with the organization name prefixed in the following format:
"/"+ orgName + sPath
[!INCLUDEfooter-include]