Skip to main content
Nintex Community Menu Bar
 

Link forces download of document instead of opening in a new tab

kbt182099

PRODUCT
K2 Cloud
K2 Five
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

Using the Google Chrome browser, a user will attempt to open a link they have saved in a form. In some cases the URL they fetch is not configured to be open in a new tab for the Google Chrome browser, and instead will try to force the user to download the document instead of opening it.
Google Chrome, and possibly Chromium based browsers, are configured in a specific way to search for certain strings to decide what to do with a link when selected. If it is missing the proper string to open the link as a new page then it will by default, attempt to download it as a document.

For example:
https://www.website.fake/example.docx would be downloaded in the browser, while https://www.website.fake/example.docx?web=1 would be opened in a new tab.

Symptoms

Click on a link inside of a view or form with open the Save As window to begin the download, instead of opening the document in a new tab.

Troubleshooting Steps

Look at the URL and check to see if the "?web=1" string is attached to the end of the URL. If it is absent, append the string to the end of the URL and test it by attempting to open it in another tab.

More information can be found in this link: https://docs.microsoft.com/en-us/sharepoint/troubleshoot/lists-and-libraries/files-downloaded-instead-of-opening-office-application.

Be the first to reply!

Reply