Create an Excel file and save it on server(instead of downloading) using MSOGenerateExcelFile

I am using the PEGA OOTB activity to create excel file using a page list MSOGenerateExcelFile.

Once we generate the file then i would like to save it on server. But using this OOTB activity we do have an option to download the file only. I dont see any specific option to save the file on server. When i debugged the code, on java step it has the reference to static directory on xlFile property and here we are invoking the downloadFile function which will just download the file on server.

Is there any option to save the file on server instead of downloading the file using MSOGenerateExcelFile with minimal Customization?



***Edited by Moderator Marissa to update platform capability tags****


Keep up to date on this post and subscribe to comments

March 18, 2019 - 7:27am


you might need to change the prconfig settings to change the default download location

<env name="Initialization/pxServiceExportPath" value="<directory>"/>

March 22, 2019 - 8:24am
Response to Santanu


If we change the environment variable then it will applicable for entire application. I would like to configure the directory to download for specific file.  



October 10, 2019 - 3:08am
Response to nagarjunab5127

Did you find a way to implement this?