Question
USAA
US
Last activity: 21 May 2021 7:03 EDT
Connect to enterprise document platform using custom JavaScript
We are implementing Pega CS for one of our reputed customers. Enterprise has a document management platform that requires us to integrate for upload and download of customer documents. Though proposed integration is via REST API, there are recommendations on how a file can be streamed over connect-REST. Also we need to chunk the stream data based on file type and size and make multiple calls to connect-REST. To simply this process of document upload and avoid maintaining uploaded documents on the server, service provider team has come up with a JavaScript code that can be incorporated into a consuming platform. Javascript would take care of converting the file to stream data from browser itself without placing the document on the server. It would also take care of chunking the stream data based on type and size of the file and transmitting it over REST API call.
It is probably easier to consume this JavaScript code in an open source platform. We are looking at the approach on how can this JavaScript code snipped be implemented in our Pega Application?
Any pointers are appreciated! Thank You
Regards,
Vijay Vetcha
6236283421