I have a use case to not to allow the user to download the pdf document but he should be able to view it.Do we have any possible ways to achieve this with or without the PDF Viewer in Appian?
Discussion posts and replies are publicly visible
Hello saifalikhan13
Please refer the below documentation for better understanding.
Document Viewer Component
If your file is stored within Appian it would display. If your file is out of the system it would download or throw an error sometimes.
Can you elaborate on how to disable the download as I would embed the document easily but I wont be able to get any property to disable the download button.Need your inputs
Konduru Chaitanya I have gone through the documentation, but there is no property to disable the user to download the document
I don't think you can do that. You can look for plugins on the App market but nothing more.
You can start your Appian learning journey from academy.appian.com
AFAIK , if the document is non-compatible to display in the viewer then You will not have control over that.
Also you can do a validation check before passing it into the viewer component. If it is of some file type that is not supported, you can not show the viewer component.
Plugins are there, but there is watermark coming along with this.That doesn't solves the purpose.
There should be a way to pay and get rid of the mark if restricting a user from downloading is really important. Additionally, if it is a single-page PDF, you can display it in an image field. It won't be crystal clear, but will serve the purpose.