How can I create a link in SharePoint Online to return to the main page?

Jolyn Johnson 81 Reputation points

This is a tricky one - we are using SharePoint Online to create our intranet, and we are using Quicklinks for everything. However, when you click on a PDF that is in the Quicklink, it opens like this:


This is only an issue because if you click on the upper x in the right-hand corner, it closes the PDF and takes you back to the full document library. I've already changed it so that no one can see the library, and instead they are presented with this URL to the main page to return back home:


This works for anyone with admin level permission, but people with view-only permissions can't return home. I'd rather not break more permissions - does anyone have an idea how to retain the Quicklinks and make the document library inaccessible to view-only users? If there is a better way than this URL to return home without breaking permissions at all of our various documents and folders, that is what management would prefer... but if anyone can figure out how to get the URL to work, then that can be a workaround too. Thanks!

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,985 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,891 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,726 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,246 Reputation points Microsoft Vendor

    Hi @Jolyn Johnson

    Quick links web part does not have settings for permission because all the permission settings in other locations still work for the links. If the users doesn't have the access to the page. They will be redirected to an empty page. They have no access to that page, so they can see nothing inside it. The permission settings always work.

    Quick Link web part is simply a container holding links for users to get them easily. It does not and has no need to handle permissions. Permission settings are always needed to be done on the list/library or site itself.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.