SOLVED

"See all" link on modern List web part nis not navigating to custom list view

%3CLINGO-SUB%20id%3D%22lingo-sub-1137865%22%20slang%3D%22en-US%22%3E%22See%20all%22%20link%20on%20modern%20List%20web%20part%20nis%20not%20navigating%20to%20custom%20list%20view%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1137865%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20all%2C%3C%2FP%3E%3CP%3EI%20am%20using%20the%20List%20web%20part%20on%20a%20modern%20SharePoint%20page%20to%20display%20a%20custom%20view%20of%20my%20original%20list%20that%20displays%20items%20based%20on%20the%20current%20user.%20i.e.%20I%20am%20filtering%20by%20%5BMe%5D%20on%20this%20specific%20view.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20List%20web%20part%20displays%20this%20data%20fine%2C%20however%2C%20when%20the%20user%20clicks%20the%20%22See%20All%22%20link%20to%20the%20top%20left%2C%20they%20are%20being%20redirected%20to%20the%20full%20list%20of%20all%20employee%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20some%20way%20or%20alternative%20method%20to%20redirect%20the%20user%20to%20the%20filtered%20view%20instead%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20thought%20of%20building%20out%20a%20web%20part%20using%20SPFx%20and%20React%20to%20display%20the%20filtered%20view%20so%20that%20users%20won't%20have%20the%20%22See%20All%22%20link.%20However%2C%20this%20eliminates%20the%20functionality%20of%20allowing%20the%20user%20to%20delete%20list%20items%20that%20the%20list%20web%20part%20already%20offers....%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20open%20to%20any%20alternative%20means%20to%20achieving%20this.%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1137865%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EList%20Web%20Part%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWeb%20Parts%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1138551%22%20slang%3D%22en-US%22%3ERe%3A%20%22See%20all%22%20link%20on%20modern%20List%20web%20part%20nis%20not%20navigating%20to%20custom%20list%20view%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1138551%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F421542%22%20target%3D%22_blank%22%3E%40Yarrah%3C%2FA%3E%26nbsp%3B%2C%20One%20easy%20solution%20would%20be%20the%20set%20the%20filtered%20by%20%5BMe%5D%20view%20to%20be%20the%20default%20view%20on%20the%20list.%20But%20maybe%20you%20don't%20want%20this...%20Also%2C%20you%20could%20hide%20the%20%22See%20All%22%20link%20using%20the%20modern%20script%20editor%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%3C%2FA%3E)%20but%20I%20would%20consider%20this%20as%20a%20patch...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1150522%22%20slang%3D%22en-US%22%3ERe%3A%20%22See%20all%22%20link%20on%20modern%20List%20web%20part%20nis%20not%20navigating%20to%20custom%20list%20view%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1150522%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24099%22%20target%3D%22_blank%22%3E%40Martin%20Coupal%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20such%20a%20simple%20suggestion!%20I%20went%20ahead%20and%20set%20the%20default%20view%20to%20the%20one%20with%20the%20filtered%20%5BMe%5D%20data%2C%20and%20then%20I%20added%20and%20set%20a%20link%20in%20the%20left%20side%20navigation%20as%20the%20view%20with%20%22All%20Items%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20idea!%20Guess%20I%20just%20needed%20another%20head%20on%20this%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hey all,

I am using the List web part on a modern SharePoint page to display a custom view of my original list that displays items based on the current user. i.e. I am filtering by [Me] on this specific view. 

 

The List web part displays this data fine, however, when the user clicks the "See All" link to the top left, they are being redirected to the full list of all employee data.

 

Is there some way or alternative method to redirect the user to the filtered view instead?

 

I have thought of building out a web part using SPFx and React to display the filtered view so that users won't have the "See All" link. However, this eliminates the functionality of allowing the user to delete list items that the list web part already offers.... 

 

I am open to any alternative means to achieving this. Thank you!

2 Replies
Highlighted
Best Response confirmed by Yarrah (Contributor)
Solution

@Yarrah , One easy solution would be the set the filtered by [Me] view to be the default view on the list. But maybe you don't want this... Also, you could hide the "See All" link using the modern script editor (https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor) but I would consider this as a patch...

Highlighted

Hey @Martin Coupal ,

 

Thank you for such a simple suggestion! I went ahead and set the default view to the one with the filtered [Me] data, and then I added and set a link in the left side navigation as the view with "All Items".

 

Thank you for your idea! Guess I just needed another head on this :)