Solved
Getting uploaded file base64 value
I want to upload an Excel file on Pega and then retrieve its content as base64.
While doing this, since the FilePath control hides the path, I am trying to combine the path with pxProcess.pxServiceExportPath and then read it with Java code, but I am constantly getting a file not found error.
Is it because Pega assigns unique values to the file that I cannot access it?
***Edited by Moderator Marije to add Capability tags***
@MertK5088
I wrote the HTML code for the section myself and added a file input widget with a specified ID. Then, I created a button and added "Run Script" and used JavaScript to convert the file to Base64. Due to a synchronization issue, I also invoked the activity from within the JavaScript code to resolve the problem.