Forum Discussion

Sam_Clark's avatar
Sam_Clark
Copper Contributor
Jul 17, 2024

SharePoint Public Folder URL

Hi,

 

We are looking to create a public (anonymous/unauthenticated) access to a document library. The library resides on a separate SharePoint site that will only contain the public documents.

 

When I share the document library using the anonymous link, I can access the document library without issue and then navigate around the available folders.

 

However, we want to be able to add URL parameters into the anonymous link so that upon someone clicking the link they are taken to a specific folder within the library. 

i.e. I want to be taken straight to the folder called 'Test' within the 'PublicDocuments' document library

 

ourtenant.sharepoint.com/:f:/s/publicsite/EqabcMvYN1tFq7oiQXAg2VoBnPDpAyk66HKeem9UBSco4g/PublicDocuments/Test

 

 

If I use the normal path it requires a login i.e. ourtenant.sharepoint.com/sites/publicsite/Shared%20Documents/PublicDocuments/test

 

Has anyone found a way of doing this?

 

  • Links are created directly to the specified folder, users are able to navigate through the nested folders because they inherit permissions, however they can't go directly to the folder "Test" because the link would be invalid,

    TL; DR
    if you need to direct users to another folder just create a new link

Resources