FeedbackMessage before a Download

  

Hello friends,

I'm developing an application that uploads a file.When processing this file it verifies if it has errors, if it has errors it informs how many errors occurred and download new file.How can I do a feedbackmessage and a download in the same action?

thanks in advance

GG.


Hello,

You don't. Not easily.
My suggestion is: Use a popup to show the message.
When the user closes the popup, send a Notify to the Parent screen, and in the OnNotify action that is called, uses a small JavaScript (in a RunJavaScript) to click in a hidden link that calls the action to download the new file.

(Maybe there is a better way, but this is a very common technique).

Cheers.

Hello,

Please see below forum post, they also discussed on same issue

https://www.outsystems.com/forums/discussion/40797/running-a-feedback-message-before-a-download/

Hope it will help you.


Thanks,

Rajat Agrawal

Rajat Agrawal wrote:

Hello,

Please see below forum post, they also discussed on same issue

https://www.outsystems.com/forums/discussion/40797/running-a-feedback-message-before-a-download/

Hope it will help you.


Thanks,

Rajat Agrawal

Just to remember, this will make the download happens together with the message.