This functionality is only available for certain module packages.

You are here: Reference > SCRIPTING > Methods of the class UtilAPI > getOutputDirectoryForProjectName(String projectName, Boolean createFolder)

getOutputDirectoryForProjectName(String projectName, Boolean createFolder)

Determines the output folder for the generated files for the specified project name. If no folder exists, it can be generated if required. The output folder is session-specific for the Job Server and Web EEC, meaning that it contains the session ID.

getOutputDirectoryForProjectName(String projectName, Boolean createFolder)
Argument String projectName Project name
Boolean createFolder true = output folder is generated
false = output folder is not generated
Return value String Absolute path of the output folder