Question
Pegasystems Inc.
US
Last activity: 22 Sep 2017 10:00 EDT
Reusable ajax to document download/render within new window.
One of the development teams for a client is attempting to write an ajax call to a third party server (S3) which handles their physically scanned documentation using JavaScript.
They have some file types working, but some file types like pdf are malfunctioning. They would like to know if there are any existing libraries within the Pega environment to reuse syntax to obtain a blob/attachment and print it in a new window.
The client has different requirements for file types, and are midway through development on their file type requirements. The client has begun prototyping and experimentation of to modify pzpega_ui_harnessaction.js.
We have been somewhat successful, but always find ourselves into a CORS issue, (same domain, but different sub-domain).