Link or link to a document content type in SharePoint Online document library

In this SharePoint online tutorial, we will discuss link to a document content type in SharePoint online document library.

Lots of time people asked for What is link to a document content type? Can you add a link to a document library in SharePoint? How to link documents presented outside of the document library or SharePoint? How do you create a link to a folder?

How do I create a link to a file on a shared drive? How do I create a link to a document in SharePoint? how to link a folder in the document library to another document library in SharePoint online? how to add a link in a document library? We will try to find an answer to all the above questions.

Introduction

SharePoint provides document libraries to store documents inside it. But sometimes the documents may be stored in different places but we may just need to give a link to the document.

Or maybe we just need to give an external link inside a document library in SharePoint online. There might a requirement comes where you need to add a link to a file that is located in another document library, sometimes in another external site.

Here we will see how we can achieve this in the new modern UI SharePoint document library as well as in the classic document library.

“Link” in modern SharePoint online document library

In modern SharePoint Online document library, there is an option as Link like below:

add link to document library sharepoint
add link to document library sharepoint

Once you click on the Link, in the right side you can see “Create link to” text box where you can enter the web page or file URL. You can provide the file url and then it will ask for a name. Fill the details like below:

Can you add a link to a document library in Sharepoint?
Can you add a link to a document library in Sharepoint?

Then you can click on Create to create the link.

To add a link in a document library
To add a link in a document library

You can see below how both the links will appear.

link to a document in sharepoint
link to a document in sharepoint

Link to a document SharePoint 2013 classic document library

We can also add a link to a document content type to a SharePoint online classic document library. Once you add the content type, users will be able to give link to any document using the Link to a document content type.

By default when you open a SharePoint Online classic document library, you can see it will allow only to add documents like below with the default “New Document” content type.

sharepoint link to document library folder
sharepoint link to document library folder

Follow below steps to add the “Link to a document” content type.

Open the SharePoint Online document library in classic mode. You can read an article on How to switch to modern experience in SharePoint Online List and Document Library.

Then click on Library Settings from the ribbon, which will open the document library settings page.

Then click on “Advanced settings” which is under “General Settings”. In the Advanced Settings page, choose radio button “Yes” in “Allow management of content types?” and click on Save. see the fig below:

add link to document library sharepoint 2013
add link to document library sharepoint 2013

Now in the same document library settings page, go to the “Content Types” section. Here click on “Add from existing site content types” like below:

How do I create a link to a document in Sharepoint?
How do I create a link to a document in Sharepoint?

Then in the in the Select site content types from choose “Document Content Types” and then choose “Link to a Document” like below and then click on OK.

sharepoint link to document on network drive
sharepoint link to document on network drive

Now if you will check in the document library, you can see the content type and you can click on Link to a document and can add the documents like below:

sharepoint 2016 link to network folder
sharepoint 2016 link to network folder

Read some SharePoint workflow tutorials:

In this tutorial, we learned how to work with link or link to a document content type in SharePoint Online document library.

  • >