Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.02 KB

File metadata and controls

44 lines (32 loc) · 1.02 KB
title description author ms.author ms.date ms.reviewer ms.topic applies_to search.audienceType contributors
prependOrgName (Client API reference) in model-driven apps| MicrosoftDocs
Includes description and supported parameters for the prependOrgName method.
adrianorth
aorth
03/12/2022
jdaly
reference
Dynamics 365 (online)
developer
JimDaly

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

Xrm.Utility.getGlobalContext

[!INCLUDEfooter-include]