Saturday, November 5, 2016

To Get Absolute Path of Pega Temp Directory

To get the Absolute path in Pega of the Temp Directory:

Whatever the file we uploaded, initially it will be stored in temp directory.
And then it will be saved to database.

to get the Absolute path of the Temp Directory, we can use below code:

String   explicitTmpDir  = tools.getSystemSettings().getFSSetting("initialization/explicittempdir", "" , true, false);

In Windows - sample structure will be like C:\Pega72\PRPCPersonalEdition\temp

In Linux - Sample Structure will be like /apps/pbm/pega712/weblogic/prcache

please find the below URL to get from the PDN Link
https://pdn.pega.com/community/pega-product-support/question/finding-absolute-file-path

Activity Name where u can find sys details: SysWebInfo

No comments:

Post a Comment