We want user to download files that are present in ECM system with a single click from Appian user interface.
We don't want to download and keep files on Appian server till user explicitly click on link to download file. How can we achieve file download (REST API call) and document link together on single button click?
Discussion posts and replies are publicly visible
Can we able to download the document from ECM in one click in the Appian 22.1 version OR is it still same limitation.
AFAIK there have been no recent changes that would add any new capabilities with respect to the number of clicks required to do this sort of thing.
We have a requirement to allow all users to download a particular document, but whenever they download, the document name should be appended with a dynamic text. Currently we are using copy document node to achieve this. Is there any other way to set a different external file name while using download document link functionality?
We have a smart service for that to update the document properties.
Thenmozhi Mohanakrishnan said:Is there any other way to set a different external file name while using download document link functionality?
Nope. Such behavior will 100% require 2 clicks by the user, at least.
The implementation you describe is pretty much already what I'd suggest anyway - copy the document to a temporary copy with a new name, and expose that as the document download link. The user would need to click once to initiate the initial copy/rename, then after that's done, they can click again to download the document.
To confirm, the Document Download Link component does not have any way of doing anything "before" the download - literally all it does is provide a direct download link.
© 2024 Appian. All rights reserved.