PrependOrgName Function

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Prepends the organization name to the specified path.

Usage

prependOrgName(sPath)

Parameters

sPath

A String that contains a relative URL to a custom aspx page in the ISV folder of the Microsoft Dynamics CRM Web site.

Returns

A String that contains the complete URL.

Remarks

The string that is returned uses the following format:

var url = "/"+ORG_UNIQUE_NAME+sPath;

Example

var url = prependOrgName("/isv/app/myapp.aspx");

See Also

Concepts

© 2010 Microsoft Corporation. All rights reserved.