Page 1 of 1

Stop download file on click of link

Posted: Sun Oct 06, 2019 1:32 pm
by lalinda74
Hi,

Rather than download the file on click of link controller I just need to view the file in a new tab. Is there a way to do this using javascript?

I'm using my link controller inside a grid.

Thanks.

Re: Stop download file on click of link

Posted: Fri Dec 06, 2019 5:52 pm
by dan123dan
Hi

AFAIK ProcessMaker Community doesn't have a functionality that show a preview of any file, but

ProcessMaker Enterprise has a plugin that is similar what are you looking for, https://wiki.processmaker.com/3.3/ProcessDocumenter

Re: Stop download file on click of link

Posted: Mon Dec 09, 2019 1:52 am
by programerboy
Hi,
You can this link for get download url:
https://wiki.processmaker.com/3.0/File_ ... nk_to_file

Now if you add "&b=0" to end of your download link, it show the file without downlaod it.

https://www.youtube.com/channel/UCYiyz1 ... jMXodwH1iw
Thanks