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.
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:
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:
Then you can click on Create to create the link.
You can see below how both the links will appear.
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.
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:
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:
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.
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:
Read some SharePoint workflow tutorials:
- How to send email to SharePoint group in visual studio 2015 workflow in SharePoint hosted add-in SharePoint online?
- Call Web API from SharePoint Online using httpsend workflow activity
- Step by step develop workflows using visual studio 2015 as an add-in and deploy to host web in SharePoint online?
- SharePoint designer workflow examples: Steps to create a Leave Request SharePoint designer workflow in SharePoint Online
- SharePoint create workflow history list programmatically using client-side object model code (csom)
- Deploy SharePoint 2013 designer workflow into production in SharePoint online
- Create and Use Content type hub in SharePoint Online/2013/2016/2019
In this tutorial, we learned how to work with link or link to a document content type in SharePoint Online document library.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site EnjoySharePoint.com