SharePoint Online and SharePoint Server 2019 allow you to add a link in a document library to an item that is located outside the document library. For example, you can add a link to a file or folder located in a different document library or site.
See this article for more information on using a link to document.
If the Link to Document content type has been added to your SharePoint document library, you can also create links to other documents.
These links are then listed in the MacroView DMF or Message file list when the library, folder or document set is selected. When this link is selected it displays a preview of the file referenced by the link.
The Type icon for linked document includes a small arrow to indicate that it is a link and an actual document.
Double clicking or using right-click open on a link will open the file that is referenced by the link.
The other functions on the right-click context menu of a Link or Link to Document item in MacroView DMF or Message are very similar to the functions for other files however some of the functions apply to the document or file that the link references and others apply to the Link or Link to Document itself.
Behavior of right-click function and a Link or Link to Document
The table below lists the available right-click functions and what they do:
Option | Behavior |
Open | Opens the file or document referenced by the link |
Open Read-Only | Opens the file or document referenced by the link in read-only mode |
Open With... | Opens the file or document referenced by the link with the selected application |
Open File Location | Navigate to the location in browse mode where the referenced file resides |
Download | Downloads the file of document referenced by the link |
Prints the file of document referenced by the link | |
Version History | Displays the version history for the file of document referenced by the link |
Check Out | Checks out the Link |
Check In | Checks in the link |
Discard Check Out | Discard the check out on the Link |
Share | Share the file of document referenced by the Link |
Send As | Send the file of document referenced by the Link as an attachment or link |
Cut | Cut the Link and store in the clipboard |
Copy | Copy the Link and store in the clipboard |
Copy As Link | Copy a link to the Link and store in the clipboard |
Paste | Paste whatever is in the clipboard |
Delete | Delete the Link |
Rename | Rename the Link |
Manage Permissions | Open the permission page for the library in the browser |
Compliance | Display the compliance details of the file of document referenced by the Link |
Refresh | Refresh the file list |
Properties | Show properties of the 'Link to Document' item or the file referenced by the 'Link' |
Link and Link to Documents in search results
When a Link or Link to Document item (as apposed to the item it references) is returning by a search in MacroView DMF and Message the file type it references is unknown and as such is displayed using the file type of a link.