How can we help you today?

How to Create a Link to Download File(s) in SharePoint

If you currently have files or documents displayed on your SharePoint sites using ShortPoint Design Elements, and you want your users to automatically download them, instead of opening them, then this article is for you. 


This article will show you simple steps on how to achieve this design feature for your site using ShortPoint


Sample scenario


TABLE OF CONTENTS


Before we begin

  • The solution explained in this article works for Office 365, SharePoint 2019, SharePoint 2016, and SharePoint 2013 environments.
  • You can use the following solution both for static and dynamically connected ShortPoint Design Elements.


In this example, we are using a ShortPoint File Lists Design Element dynamically connected to a SharePoint document library. You may use any other Design Element with a link option.  


Note: Check out ShortPoint Connect: Basic Tutorial for more details on how connection works. You may also use a static way of creating ShortPoint design elements by pasting the URL links to the files manually. Please check our support article on Adding, Duplicating, Moving and Deleting ShortPoint Elements.

Prerequisites

  • You already have a ShortPoint Design Element with links added to your SharePoint page.
  •  Files/documents are already added to your SharePoint document library.

Step 1. Edit ShortPoint File Lists Design Element


In edit mode, open the settings of your Design Element.


INFO: ShortPoint Page Builder Live Mode was formerly known as Visual Builder and Grid Mode was formerly known as Wireframe Builder.



Click the cog wheel icon to open File Lists settings as shown below:


  • Live Mode:

Live Mode Design Element Settings


  • Grid Mode:

Go to settings of the Design Element


  • Legacy Page Builder:

Legacy Page Builder


The Settings tab will open.


The settings tab will open


Step 2. Prepare the URL string


Copy the URL below:


http://spsite/_layouts/download.aspx?SourceUrl=



Where:

spsite - should be replaced with your site URL. 



Here is a sample: 

http://mycompany.sharepoint.com/_layouts/download.aspx?SourceUrl=




Switch to the Items tab. 


Switch to the Items tab



Paste the URL that you prepared from Step 3 on the Link field:

Paste the URL on the Link field

Note: If you are using a static link instead of mapping it, you will need to paste it manually on each item that you want to display in the Design Element.


Once the URL is pasted to the Link field, select the URL Path from the Link drop down. Click the chain icon to see the options:


Click the chain icon


Note: For static links, you will have a complete URL path to the file. For example, the complete URL link will look like this:
Static URL path

Step 5. Update ShortPoint File Lists Design Element


Click the Update button.


Click the Update button to save the changes


Then, save or republish the page.


Result


That's it! Now, clicking the link lets you download the file automatically.


Result


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 65 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more