Hi everyone,

I am working on a web screen where i am generating the pdf for that screen and also want to navigate to another screen after downloading pdf but outsystems is not allowing to use the destination widget and download widget.

How can i get this done?

any help will be appreciated.

Kind regards

Hi Hassan,

You can use javascript to redirect url,

1) use RunJavascript action before download widget and input the below text


<script>window.location.href = 'https://newurl.com'</script>

2) Last node will be the download file. it will open new url after file download

Hope this helps