Question

1
Replies
574
Views
Close popover
Sudhakar Ganesan (GSudhakar)
Infosys Limited

Infosys Limited
IN
GSudhakar Member since 2015 5 posts
Infosys Limited
Posted: September 8, 2016
Last activity: September 9, 2016
Closed

File not downloading from CMIS repository

In pyDownloadAttachmentContent activity, I see the following lines

Could somebody explain these two lines  

String strOutputPRFileName = myStepPage.getPage("pyContentStream").getString("pyStream");
String strOutputFileName = myStepPage.getPage("pyContentStream").getString("pyFileName");

FileLockManager.readLock(strOutputPRFileName);
PRFile prDestinationFile = new PRFile(strOutputPRFileName);

I understand the pyStream is the file attachment base64 encoded byte stream and pyFileName is the actual filename with extn(ie.abc.txt). Please validate this.

if my above understanding is correct,why PRFile is created from base64 encoded byte array stream?

***Updated by moderator: Lochan to add Categories***

Data Integration Case Management
Moderation Team has archived post