Question

2
Replies
272
Views
wajtk Member since 2014 1 post
PEGA
Posted: 1 year ago
Last activity: 5 months 3 weeks ago

D_pxNewFile is only creating base64 files

I used the new repository api to create the files - https://community.pega.com/knowledgebase/repository-apis

(D_pxNewFile data page, set the content and save).

The file gets created - I can view it via System:Setting – file storage – browse.

I can view the file content using the D_pxGetFile data page.

The problem is, that the file content is returned as base64 encoded string.

 

There are two ways to set the content into D_pxNewFile – using base64 string and InputStream. I was expecting that for InputStream the file will be saved as plaintext, but it is not.

 

We need to store the files as plaintext. How can we achieve it? We are using Pega 8.2.

***Edited by Moderator: Pallavi to update platform version***  

Pega Platform 8.2 Data Integration Cloud Services
Share this page LinkedIn