prependOrgName (Client API reference)
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
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for