Friday, May 31, 2013

SharePoint "Download A Copy" from a SP Document Library

Generate a link using below format:
http://spsite/subsite/_layouts/download.aspx?SourceUrl=http://spsite/subsite/shared documents/file.docx

And use this URL in Anchor tag / window.open etc. as per the requirement.

Hope that helps.

No comments: