Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

File does not download on using the downloadFile API

SA-53757

Summary



On configuring an activity to download a file on click of a button, the file does not download during execution.


Error Messages



Not Applicable


Steps to Reproduce



Configure a button to run the 'downloadFile' activity.


Root Cause



The button was configured to run the activity directly to download the file. However, the 'open URL in Window' was the preferred configuration to download a file. This ensured that the download action occurred asynchronously on a different thread without any violation on the current thread.


Resolution



As a local-change, use the 'Open URL in Window' to download files on click actions.
 

 

Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us