Replies: 1 comment 1 reply
-
Hi @awdhaan,
If you do it in this way you can use all available Modern Search features like search box, verticals, filters etc and you don't need to figure out the internals of SPFx dynamic data in the Modern Search webparts which you would if you were to develop your own custom webpart since that is the technology that is used and in quite a complex way too. You can find basic examples of extending Modern Search here: https://github.com/microsoft-search/pnp-modern-search-extensibility-samples |
Beta Was this translation helpful? Give feedback.
-
Hi all, I'm currently working on a project to build an application that works with 2 distinct datasets. One is managed in a SharePoint lists where custom code determines user access to a list item and the other is document sets (and underlying files) that are configured with itemlevel permission.
To accomodate search, I want to use the PnP Search Verticals web part to distinquish between the 2 types of search.
One tab for standard search through the document sets.
And another tab that will show a custom developed web part that can return the list data with the custom security trimming.
The custom web part should hide when the specific tab is not active.
Based on this, I am wondering if and how a custom web part could read the active tab from the PnP Search Verticals web part.
And if the same custom web part could read the searchterms from the PnP Search box web part.
I'm looking for some starter points to guide our developer. Help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions