Salesforce

ProjectDir (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

ProjectDir (Magic xpa 3.x)

Lets you refer to files that are relative to the location of a component file.

Syntax:

ProjectDir ()

Parameters:

None

Returns:

Returns the directory of the EDP filename.

Note:

When using the SpecialExcludeServerSideEnv flag, this function will return a blank value when executing on the client side. Since version: 3.2a

Example:

ProjectDir () returns ‘c:\projects\proj1\’

See also:

Retrieving the Project Directories

How Do I Access the Directory in which the Component Resides?

The Online and Rich Client Samples projects (program EV04 and REV04)

Reference
Attachment 
Attachment