Links added in "Quick Links" webpart to force download the documents only works when double clicks on it !!

Jefin Mathew 1 Reputation point
2022-05-20T08:12:51.843+00:00

Force downloading the word documents stored in SharePoint when the user clicks on the link (using "Quick Links" webpart) is not working as expected.

To successfully download the file, the link required to be clicked twice!!.

I've added the links in "Quick Links" webpart in the below format ( file copy link + &download=1 )
https://TenantName.sharepoint.com/:w:/s/SiteCollectionName/EV8bwK_6d9hKou_RVS7GFXcBlMWrv5nZpViNQmUHtwarJA?e=3RPjsi&download=1

The query string parameter &download=1 is used to force download the document as I don't want them to be opened in Word Online.

When I click on my Quick Links, it takes 2 clicks to trigger the download.

On the first click, the browsers address bar updates but nothing is downloaded. The second click works. (Please test it by adding multiple links of different files to the webpart, as it is working correctly during the first link click but misbehaving for the subsequent file download links)

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,630 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,456 Reputation points
    2022-05-23T09:46:41.6+00:00

    Hi @Jefin Mathew
    I have reproduced your issue on my PC. The first click could always succeed but after that it will need double click or refresh the browser. This issue seems to be by design and I could not find any official document to explain it. So I would suggest you to send feedback to Microsoft SharePoint Feedback.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments