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 in a new tab, then this article is for you. 


This article will show you simple steps on how to automatically download files when a viewer clicks it:


downloadable files


TABLE OF CONTENTS


Prerequisites

  • You must have the latest version of ShortPoint installed on your SharePoint environment.
  • You must be a ShortPoint Designer with an active license.
  • You must already have a Design Element with the link option on your page. For this guide, we will use the File List Design Element, but you can use any Design Element with the link option.
  • You must already have a SharePoint Document Library with files/documents. For this guide, we will use the Document Library below:


Document Library


Step-by-step Tutorial

Follow the steps to learn how to create a link to download file(s) in SharePoint:


Step 1. Edit the ShortPoint web part


Go to the SharePoint page you want to use and click Edit:


Edit


Then, select the ShortPoint tag:


ShortPoint tag


Click the pencil icon:


pencil icon


Step 2: Copy the URL

Copy the URL that corresponds to the Design Element you are using:


For Connected Design Elements:


https://spsite/_layouts/download.aspx?SourceUrl=#FileRef


Where:

  • spsiteshould be replaced with your site URL.


For example: 

https://mycompany.sharepoint.com/_layouts/download.aspx?SourceUrl=#FileRef


For Static Design Elements:


https://spsite/_layouts/download.aspx?SourceUrl=/relativepath/filename.file extension


Where:

  • spsiteshould be replaced with your site URL.
  • relativepath - should be replaced with the folder name where your file is located.
  • filename - should be replaced with the name of your file.
  • file extension - should be replaced with the file's extension.


For example: 

https://mycompany.sharepoint.com/_layouts/download.aspx?SourceUrl=/PDF%20Guides/ShortPoint_Intro_Guide.pdf


Step 3: Switch to Grid Mode


Click the Switch to Grid Mode icon:


Switch to Grid Mode icon

NOTEThe ShortPoint Connect feature is currently only available in Grid Mode. 

Step 4: Paste the copied URL

NOTEBefore proceeding, make sure you already have a Design Element with the link option on your page. For this guide, we will use the File List Design Element, but you can use any Design Element with the link option.


Look for the Design Element you want to use and click the cogwheel icon:


Cogwheel icon


Paste the copied URL in the Link field:


link field


NOTEFor static Design Elements, you will need to paste the copied URL for each item.


Then, click Update:


Update


Step 5: Save


Click the eye icon to see your page in real-time:


eye icon


Then, click Save to apply all your changes:


Save


That's it! You now know how to create downloadable files. Try it out on your own pages now.


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