You are viewing limited content. For full access, please sign in.

Question

Question

WebLink 11: Generating URLs that automatically download "other electronic documents"

asked on July 13, 2022

We have a customer who recently upgraded from Weblink 8 to Weblink 11. They have lost the functionality to generate links for other electronic documents (word, excel, and other files) that download automatically when you hit the URL. I have done some digging to find a way to manually generate URLs that will do this; however, I can't find a setting or config file that will set this URL format as the default when generating a link to share for "other electronic documents". I've included samples of the links below.

This link below is the default generated link when you want to share a document through weblink 11. This link will not automatically download "other electronic documents"

https://server1.company.com/Weblink/DocView.aspx?id=12345&dbid=1&repo=TestRepo

This link below I was able to manually generate to automatically download "other electronic documents" when you hit the URL

https://server1.company.com/Weblink/DocView9.aspx?dbid=1&id=12345&repo=TestRepo&openfile=true

Has any experienced this issue before or found a solution to this?

0 0

Replies

replied on July 14, 2022

As far as I know there's not an automatic way to generate this URL for an automatic download, so we train our users to create a URL like this:

https://DomainName/WebLink/ElectronicFile.aspx?docid=####&dbid=0&repo=REPOSITORY_NAME

 

Replace #### with the LF document ID

 

 

0 0
replied on March 21

I wanted to check back to see if anyone had found a way to automatically download a file when it is unable to be displayed in DocView.aspx.  

We have a process where we are embedding links to WebLink documents directly in a 3rd party application.  This works great for Laserfiche images, PDF's, and supported image types, but it is confusing the end-users when it says there are no images for other document types (e.g. Word, Excel, CAD, ...).  While the user could click the download button to start that download, the customer wants it to just automatically download the file if there are not any pages to display.  

I am hoping someone has found a way around this and/or Laserfiche can confirm this will be resolved in WebLink 12.

0 0
replied on September 16, 2022

Hi there, here's what I do to force an auto download of an excel file from our weblink installation.  

Open the DocView version of file, right click the download button and copy link address.  This link that you get, when clicked on, forces something like an excel file to auto download.

0 0
replied on August 23, 2023

Austin,

See if this solution can help you achieve what you are looking to do with electronic files, https://answers.laserfiche.com/questions/211338/HOWTO-Force-all-electronic-files-to-open-using-ElectronicFileaspx#repliestomain

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.