Disable PDF Download

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
pgeraldes
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Jun 26, 2020 3:28 pm

Disable PDF Download

Post 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

jllort
Moderator
Moderator
Posts: 11123
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Disable PDF Download

Post 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.

pgeraldes
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Jun 26, 2020 3:28 pm

Re: Disable PDF Download

Post 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.

jllort
Moderator
Moderator
Posts: 11123
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Disable PDF Download

Post by jllort »

Did you have the Personal OpenKM development environment working? Did you have JAVA skill to apply the changes in the source code?

pgeraldes
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Jun 26, 2020 3:28 pm

Re: Disable PDF Download

Post 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?

pgeraldes
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Jun 26, 2020 3:28 pm

Re: Disable PDF Download

Post by pgeraldes »

Can someone help here?
Thanks

jllort
Moderator
Moderator
Posts: 11123
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Disable PDF Download

Post 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.

Post Reply