将当前组织的唯一名称作为字符串前缀,通常是 URL 路径。
Syntax
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.prependOrgName(sPath);
参数
| Name | 类型 | 必选 | Description |
|---|---|---|---|
sPath |
String | 是的 | 资源的本地路径。 |
返回值
类型:字符串
说明:采用以下格式前缀的组织名称的路径字符串:
"/"+ orgName + sPath
将当前组织的唯一名称作为字符串前缀,通常是 URL 路径。
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.prependOrgName(sPath);
| Name | 类型 | 必选 | Description |
|---|---|---|---|
sPath |
String | 是的 | 资源的本地路径。 |
类型:字符串
说明:采用以下格式前缀的组织名称的路径字符串:
"/"+ orgName + sPath