Editar

Partilhar via


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

Xrm.Utility.getGlobalContext