how to set Link to “Download a Copy” in SharePoint 2010 and SharePoint 2013"

Hi All,

I spent much time to find how to set Link to “Download a Copy” in SharePoint 2010 and SharePoint 2013".

After digging so much, I found the solution.

A work around was to create a link to directly evoke the Download a Copy drop-down menu item.
http://site/_layouts/download.aspx?SourceUrl=url-of-document-in-library

Replace the "site" and "url-of-document-in-library" text in the above link with your own sites information and you should be set.

For ex: http://abc.com/_layouts/download.aspx?SourceUrl=http://abc.com/Style%20Library/PDF/abc.pdf

Hope this save time for some else.

Cheers
Suresh

10 comments:

  1. Useful to me! Thanks Suresh ;)

    ReplyDelete
  2. Yeah, but we would have to type that out manually every time? another issue is when the user searches for the document? how can search implement that structure?

    ReplyDelete
  3. Hello, thank you for the tip, unfortunately i'm not able to adapt this to my link, i wonder what's my mistake:

    I tryed to use it for this form of link

    https://xx.mysociety.com/sites/YYY_YYYY_MainFolder/SubFolder/Shared%20Documents/Reporting%20FYXX/SubsubFolder/Period/ReportFileName.xlsm

    Can you suggest me which should be considered the string "site" and wich the url to get the final complete link?

    Thank you very much
    regards

    ReplyDelete
    Replies
    1. Hi,

      it great the link help you.

      You should use as below:

      site= https://xx.mysociety.com/
      URL=https://xx.mysociety.com/sites/YYY_YYYY_MainFolder/SubFolder/Shared%20Documents/Reporting%20FYXX/SubsubFolder/Period/ReportFileName.xlsm

      Regards,

      Delete
  4. Is it working if we doesn't login to sharepoint?

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I have also the same question..Is it working if user is logged out from sharepoint?

    ReplyDelete
  7. I tried the solution and while it worked for some, it didn't for others. What would happen was the document was opened by the client application? Any suggetions?

    ReplyDelete