Page 1 of 1

Disable PDF Download

PostPosted:Fri Jun 26, 2020 3:41 pm
by pgeraldes
Hi there, is there any chance to block all pdf downloads from dashboard and from previewer, i follow this guide https://www.openkm.com/wiki/index.php/D ... ed_buttons , and on dashboard does not download, but on preview the button is there, can someone help here using other previewer, or something else.
Thanks

Re: Disable PDF Download

PostPosted:Sat Jun 27, 2020 9:01 am
by jllort
You are using deprecated documentation , please use https://docs.openkm.com/kcenter/view/okm-6.3-com/

About how to block download I think the best option should be create a new event ( DOWNLOAD ) for Automation and then evaluate the security or apply the needed logic to block the download ( raise an exception is the easiest ). In case of professional edition there's this event and I think in community should going in the same direction.

If you want to work on it in community edition, tell us and we will guide on how the code should be updated.

Re: Disable PDF Download

PostPosted:Sun Jun 28, 2020 10:52 am
by pgeraldes
Hi there, thanks for your reply, right now im trying community edition, can you please guide me how to block the pdf download on the dashboard and also on the previewer, i need that the users can only view the pdf on the previewer or other viewer and nothing more.
Thanks
jllort wrote: Sat Jun 27, 2020 9:01 am You are using deprecated documentation , please use https://docs.openkm.com/kcenter/view/okm-6.3-com/

About how to block download I think the best option should be create a new event ( DOWNLOAD ) for Automation and then evaluate the security or apply the needed logic to block the download ( raise an exception is the easiest ). In case of professional edition there's this event and I think in community should going in the same direction.

If you want to work on it in community edition, tell us and we will guide on how the code should be updated.

Re: Disable PDF Download

PostPosted:Mon Jun 29, 2020 11:36 am
by jllort
Did you have the Personal OpenKM development environment working? Did you have JAVA skill to apply the changes in the source code?

Re: Disable PDF Download

PostPosted:Mon Jun 29, 2020 11:48 am
by pgeraldes
Hi, unfortunately, i´m not a software engineer.
jllort wrote: Mon Jun 29, 2020 11:36 am Did you have the Personal OpenKM development environment working? Did you have JAVA skill to apply the changes in the source code?

Re: Disable PDF Download

PostPosted:Fri Jul 03, 2020 2:41 pm
by pgeraldes
Can someone help here?
Thanks

Re: Disable PDF Download

PostPosted:Sat Jul 04, 2020 8:21 am
by jllort
You can looking for a freelance or go ahead with professional edition for a customization. OpenKM Team only does customization in the professional edition and we offering forum support for community edition, but not customizations.

Re: Disable PDF Download

PostPosted:Sat Apr 03, 2021 3:24 am
by chris8858
I am a software developer and also need this feature on our community edition.
Kindly help to enlighten me with the instructions to apply the changes in the source code.

Re: Disable PDF Download

PostPosted:Wed Apr 07, 2021 6:10 pm
by jllort
Currently in OpenKM CE it is used PDF.js previewer, I suggest take a look at https://github.com/openkm/document-mana ... view/pdfjs and google for pdf.js to apply this kind of modification