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