Salesforce

How Do I Access the Directory in which the Component Resides? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Access the Directory in which the Component Resides? (Magic xpa 4.x)

While a component is running, you can find out which directory it is running in by using the ProjectDir() function.

Note that this is a function, not a logical name. The logical names that give directory information, such as %WorkingDir% and %TempDir%, will be the same across all the loaded components, but the ProjectDir() is local to one component.

Reference
Attachment 
Attachment