Hi Community,
Just wondering if there is a way to download a document automatically upon loading the user interface. Please share your thoughts.
Thanks,
Arun
Discussion posts and replies are publicly visible
a!documentDownloadLink() will always require a user to click on a link. There may be a custom / plug-in based component that acts closer to what you describe. For certain document types (basically any unsupported extensions) attempting to load that document into a!documentViewerField() will cause the browser to auto-initate a download apparently, though I wouldn't count on this behavior as any sort of workaround.