Question

1
Replies
549
Views
GSudhakar Member since 2015 5 posts
Infosys Limited
Posted: 4 years ago
Last activity: 4 years ago
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
Share this page LinkedIn