共用方式為


prependOrgName (用戶端 API 參考)

將目前組織的唯一名稱前置於字串 (通常是 URL 路徑) 的前面。

語法

var globalContext = Xrm.Utility.getGlobalContext();
globalContext.prependOrgName(sPath);

參數

名稱 類型 為必填項目 Description
sPath 繩子 Yes 資源的本機路徑。

傳回值

類型:字串

說明:組織名稱前置詞為下列格式的路徑字串:

"/"+ orgName + sPath

Xrm.Utility.getGlobalContext