Question

2
Replies
271
Views
Arpita Dutta (ARPITA)
Accenture
Application Development Manager
Accenture
SG
ARPITA Member since 2011 7 posts
Accenture
Posted: May 8, 2019
Last activity: May 9, 2019
Posted: 8 May 2019 4:20 EDT
Last activity: 9 May 2019 7:25 EDT
Closed
Solved

Can I override the Pega server as the default file saving location to any other location

I am using an OOTB Java snippet to generate some files as per my requirement.

However I do not want to save the new files into Pega Server. What changes need to be done if I want to save into my local machine?This code is generating files and saving them perfectly into the Pega Server.

try {
PRFile prFile=new PRFile("C:\\PegaRPA\\"+FileName);
PROutputStream pros=new PROutputStream( prFile );
PRWriter pw=new PRWriter("C:\\PegaRPA\\"+pros, "UTF-8");
pw.write(TxtOutput);
pw.close();
pros.close();

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.