Hi
I need to implement a use case, where I implemented links to view document and download document links. So that, I can capture the user response and use it for audit purpose. Like how many times document is viewed and how many times document is downloaded.
When user clicks on view, I have used documentViewerField and users can able to view. For pdf documents, users can download the document from the pre-defined options on the component. Like (download, print) etc.
Is there any way to hide those options? Like disable download or disable print option.
Kind Regards
Rahul Gundu
Discussion posts and replies are publicly visible
To disable the download and print options in the Appian Document Viewer, you can use CSS to hide the buttons. You can inspect the DOM in the browser and find the right attribute to disable. Alternatively, you can pass the data elements you wish to disable to tailor the experience to the user and their use case. For example, you can pass {"downloadButton", "printButton"} .
I hope it may help to you.
CSS and DOM !?!!? Interesting! Can you share some actual working Appian code?