Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Prefixes the current organization's unique name to a string, typically a URL path.
Syntax
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.prependOrgName(sPath);
Parameters
Name | Type | Required | Description |
---|---|---|---|
sPath |
String | Yes | A local path to a resource. |
Return Value
Type: String
Description: A path string with the organization name prefixed in the following format:
"/"+ orgName + sPath