wajtk Member since 2014 1 post
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 -

(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