Hi Champ,
I am using document download in my portal application. When user clicking the link, it usually flickers and download it in a next tab and comes back to main page.
Can we somehow stop this flickering behavior?
Regards,
Ghanashyam
Discussion posts and replies are publicly visible
Can you share a screen recording?
It's difficult for me to record it ; but if you do a small poc use document download link in any interface, it will behave the same way. It open a new blank window in the same browser, download the document and automatically comes back to the main window.
Below is the code snippet:
a!richTextIcon( icon: "download", link: a!documentDownloadLink( document: cons!document ), color: "NEGATIVE" )
I understand. Is this the "flickering" you mentioned? Appian does not support to customize this behaviour in any way. And AFAIK this specific behaviour also depends on the browser used. Did you try different browsers?
Yes, I tried in both edge and chrome. Both of the places I am seeing the same behavior.
I tried to reproduce. If you are referring to the new tab that briefly appears when you click on download, that's just the way it works. I would suggest you log a support ticket with Appian to see if they can improve this.
a!richTextDisplayField( value: a!richTextIcon( icon: "download", link: a!documentDownloadLink( document: 1 ), color: "NEGATIVE" ) )