Create an anonymous access link that resolves to a preset view?

%3CLINGO-SUB%20id%3D%22lingo-sub-2909344%22%20slang%3D%22en-US%22%3ECreate%20an%20anonymous%20access%20link%20that%20resolves%20to%20a%20preset%20view%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2909344%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20SharePoint%20Online%20with%20a%20Microsoft%20365%20Business%20Premium%20license.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20how%20to%20do%20two%20separate%20things%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20Generate%20a%20link%20to%20a%20SharePoint%20folder%20that%20anyone%20can%20access%20without%20authentication%20(and%20my%20tenant%20and%20site%20are%20properly%20configured%20for%20this%2C%20as%20I've%20confirmed%20through%20multiple%20tests%20in%20non-credentialed%2C%20%22clean%22%20browsers).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2)%20Create%20a%20link%20to%20a%20SharePoint%20folder%20that%20resolves%20by%20displaying%20that%20folder's%20contents%20with%20a%20particular%20view%20applied%20(for%20example%2C%20filtered%20on%20a%20certain%20column%20for%20certain%20values).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20can't%20figure%20out%20how%20to%20do%20is%20combine%20the%20two.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMy%20requirements%2Fwhat%20I'm%20ultimately%20trying%20to%20do%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EWe%20have%20a%20collection%20of%20client-facing%20copies%20of%20handouts%20and%20other%20supporting%20materials.%20These%20pertain%20to%20our%20training%20program%2C%20which%20is%20broken%20out%20into%20modules.%20Certain%20handouts%20pertain%20to%20certain%20modules%20(some%20to%20more%20than%20one).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20store%20our%20client-facing%20supporting%20materials%20in%20a%20single%20folder%20managed%20by%20metadata%20(instead%20of%20broken%20out%20into%20folders).%20I'd%20rather%20not%20have%20multiple%20copies%20of%20handouts%20floating%20around%20(i.e.%2C%20a%20copy%20of%20a%20given%20handout%20in%20each%20module-specific%20folder%20to%20which%20it%20pertains).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I'd%20%3CEM%3Elike%3C%2FEM%3E%20to%20do%20is%20simply%20be%20able%20to%20link%20clients%20to%20this%20directory%20(without%20requiring%20them%20to%20sign%20in)%20in%20a%20way%20that%20shows%20them%20only%20the%20handouts%20they%20need%20for%20their%20particular%20module.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIt's%20entirely%20possible%20there's%20a%20better%20way%20to%20do%20what%20I%20want%2C%20and%20I%20just%20haven't%20thought%20of%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EHere's%20one%20solution%20I've%20tried%20that%20hasn't%20worked%3A%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E(1)%20Generate%20a%20view-specific%20link%20to%20the%20target%20folder%20(internal%20access%20only)%3A%20%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fcompanyname.sharepoint.com%2Fsites%2FCoaching%2FPublic%2FForms%2FBy%2520module.aspx%3F%26amp%3Bid%3D%252Fsites%252FCoaching%252FPublic%252FParticipant%2520outlines%2520and%2520handouts%2520%2528client%2520versions%2529%26amp%3Bviewid%3D959417b4%252D757f%252D43a5%252Db42d%252D97cc4d8c5c72%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcompanyname.sharepoint.com%2Fsites%2FCoaching%2FPublic%2FForms%2FBy%2520module.aspx%3F%26amp%3Bid%3D%252Fsites%252FCoaching%252FPublic%252FParticipant%2520outlines%2520and%2520handouts%2520%2528client%2520versions%2529%26amp%3Bviewid%3D959417b4%252D757f%252D43a5%252Db42d%252D97cc4d8c5c72%3C%2FA%3E%26gt%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E(2)%20Isolate%20the%20viewid%20attribute%3A%3C%2FP%3E%3CP%3E%26amp%3Bviewid%3D959417b4%252D757f%252D43a5%252Db42d%252D97cc4d8c5c72%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E(3)%20Generate%20a%20link%20to%20the%20target%20folder%20that%20anyone%20can%20access%20without%20authentication%3A%3C%2FP%3E%3CP%3E%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fcompanyname.sharepoint.com%2F%3Af%3A%2Fs%2FCoaching%2FEhzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg%3Fe%3DT62hf6%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcompanyname.sharepoint.com%2F%3Af%3A%2Fs%2FCoaching%2FEhzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg%3Fe%3DT62hf6%3C%2FA%3E%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(4)%20Append%20the%20viewid%20attribute%20to%20the%20anyone-can-access%20link%3A%3C%2FP%3E%3CP%3E%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fcompanyname.sharepoint.com%2F%3Af%3A%2Fs%2FCoaching%2FEhzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg%3Fe%3DT62hf6%26amp%3Bviewid%3D86f71fb3%252Dc213%252D4c05%252D861a%252Dc68763cf7396%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcompanyname.sharepoint.com%2F%3Af%3A%2Fs%2FCoaching%2FEhzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg%3Fe%3DT62hf6%3CFONT%20color%3D%22%23333399%22%3E%26amp%3Bviewid%3D86f71fb3%252Dc213%252D4c05%252D861a%252Dc68763cf7396%3C%2FFONT%3E%3C%2FA%3E%26gt%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E(5)%20Attempt%20to%20resolve%20the%20link%20in%20a%20non-authenticated%20%22private%22%20browser%20session%20(after%20clearing%20cookies%20and%20cache)%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3EResult%3A%20failure.%20%3C%2FSTRONG%3ELink%20resolves%20to%20target%20folder%2C%20but%20without%20specified%20view%20applied%20(or%2C%20more%20specifically%2C%20with%20the%20default%20view%20for%20the%20doclib%2Ffolder%20applied).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EThe%20question%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EAny%20ideas%20on%20how%20to%20generate%20an%20anyone-can-access%20link%20to%20a%20folder%20that%20resolves%20to%20an%20assigned%20view%3F%20Or%2C%20probably%20better%20yet%2C%20any%20ideas%20for%20a%20simpler%20solution%20to%20do%20what%20I%20ultimately%20want%20to%20accomplish%3F%20I'm%20scratching%20my%20head.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20taking%20the%20time%20to%20read%20and%20consider%20this!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENathan%20in%20Southern%20California%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EP.S.%20Though%26nbsp%3BI'll%20consider%20any%20solution%2C%20even%20if%20it%20involves%20PowerShell%20or%20API%2C%20I%20really%20don't%20want%20to%20go%20those%20particular%20routes%26nbsp%3B%3CSPAN%3E%3Agrinning_face_with_sweat%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2909344%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Using SharePoint Online with a Microsoft 365 Business Premium license.

 

I know how to do two separate things:

 

1) Generate a link to a SharePoint folder that anyone can access without authentication (and my tenant and site are properly configured for this, as I've confirmed through multiple tests in non-credentialed, "clean" browsers).

 

2) Create a link to a SharePoint folder that resolves by displaying that folder's contents with a particular view applied (for example, filtered on a certain column for certain values).

 

What I can't figure out how to do is combine the two.

 

My requirements/what I'm ultimately trying to do

We have a collection of client-facing copies of handouts and other supporting materials. These pertain to our training program, which is broken out into modules. Certain handouts pertain to certain modules (some to more than one).

 

I've stored our client-facing supporting materials in a single folder, managed by metadata (instead of broken out into subfolders). My problem with having a subfolder for each module, combined with the fact that some handouts pertain to more than one module, is that results in multiple copies of certain handouts, all of which have to be updated anytime there's a change to the master (I know, great use case for single-source publishing). 

 

What I'd like to do is simply be able to link clients to this directory (without requiring them to sign in) in a way that shows them only the handouts they need for their particular module.


It's entirely possible there's a better way to do what I want, and I just haven't thought of it.

 

Here's one solution I've tried that hasn't worked:


(1) Generate a view-specific link to the target folder (internal access only): <https://companyname.sharepoint.com/sites/Coaching/Public/Forms/By%20module.aspx?&id=%2Fsites%2FCoach...>


(2) Isolate the viewid attribute:

&viewid=959417b4%2D757f%2D43a5%2Db42d%2D97cc4d8c5c72


(3) Generate a link to the target folder that anyone can access without authentication:

<https://companyname.sharepoint.com/:f:/s/Coaching/Ehzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg?e=T...>

 

(4) Append the viewid attribute to the anyone-can-access link:

<https://companyname.sharepoint.com/:f:/s/Coaching/Ehzp7IoM69tCoT-CxPDfPEoBSZjlb1NhUGIu-bpk4GMsPg?e=T...>


(5) Attempt to resolve the link in a non-authenticated "private" browser session (after clearing cookies and cache)


Result: failure. Link resolves to target folder, but without specified view applied (or, more specifically, with the default view for the doclib/folder applied).

 

Another thing I don't think will work: Sure, I could cause any anonymous access link to a particular folder to resolve to a particular view, if I set that view as the default for that folder or doclib — however, I have multiple views set up on the same folder, and I'd like to create distinct links for each of them (for example, a view that shows all the supporting materials for Module 1, another for Module 2, etc.).

 

The question

Any ideas on how to generate an anyone-can-access link to a folder that resolves to an assigned view? Or, probably better yet, any ideas for a simpler solution to do what I ultimately want to accomplish? I'm scratching my head.

 

Thank you for taking the time to read and consider this!

 

Nathan in Southern California

 

P.S. Though I'll consider any solution, even if it involves PowerShell or API, I really don't want to go those particular routes :grinning_face_with_sweat:

0 Replies