Skip to main content

12 replies

March 4, 2024
[deleted]
saifalik8679
March 4, 2024

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 [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] 

March 4, 2024
[deleted]
konduruc733182
March 4, 2024

Hello [mention:7703864759a3439fbcd9581df22b2bde:e9ed411860ed4f2ba0265705b8793d05] 

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. 

saifalik8679
March 4, 2024

[mention:2df2892a4df7486f9775b4d2f0e405fd:e9ed411860ed4f2ba0265705b8793d05]  I have gone through the documentation, but there is no property to disable the user to download the document

konduruc733182
March 4, 2024

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.

harshitb6843
March 4, 2024

I don't think you can do that. You can look for plugins on the App market but nothing more. 

saifalik8679
March 4, 2024

Plugins are there, but there is watermark coming along with this.
That doesn't solves the purpose.

harshitb6843
March 4, 2024

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.