Highlighted content webpart: filter on title current page

%3CLINGO-SUB%20id%3D%22lingo-sub-893075%22%20slang%3D%22en-US%22%3EHighlighted%20content%20webpart%3A%20filter%20on%20title%20current%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-893075%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20want%20to%20make%20a%20page%20template%20with%20a%20highlighted%20webpart%20on%20it.%20The%20webpart%20needs%20to%20show%20relevant%20content%20based%20on%20the%20page%20title.%20What%20I%20would%20like%20the%20webpart%20to%20do%20is%20get%20the%20page%20title%20and%20filter%20the%20documents%20based%20on%20that%20so%20%3C%2FSPAN%3Euser%20don't%20have%20to%20manually%20populate%20the%20value%20field.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20make%20filtering%20dynamic%20and%20use%20the%20current%20page%20title%20as%20a%20value%20for%20filtering%20the%20search%20result%20within%20the%20webpart%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-893075%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFilter%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHighlighted%20Content%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPages%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1803258%22%20slang%3D%22en-US%22%3ERe%3A%20Highlighted%20content%20webpart%3A%20filter%20on%20title%20current%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1803258%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F365509%22%20target%3D%22_blank%22%3E%40stevenam%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20I%20am%20looking%20for%20this%20kind%20of%20feature.%20did%20you%20got%20any%20solution%20to%20achieve%20the%20result%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ESith%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1803344%22%20slang%3D%22en-US%22%3ERe%3A%20Highlighted%20content%20webpart%3A%20filter%20on%20title%20current%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1803344%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F365509%22%20target%3D%22_blank%22%3E%40stevenam%3C%2FA%3E%26nbsp%3BHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20afraid%20that%20you%20would%20need%20to%20create%20your%20own%20SPFx%20web%20part%20to%20achieve%20this%20in%20the%20short%20run.%3CBR%20%2F%3EHowever%2C%20I%20recommend%20writing%20about%20this%20in%20the%20uservoice%20and%20get%20some%20votes%20up!%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYours%20sincerely%2C%3CBR%20%2F%3EAref%20Halmstrand%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I want to make a page template with a highlighted webpart on it. The webpart needs to show relevant content based on the page title. What I would like the webpart to do is get the page title and filter the documents based on that so user don't have to manually populate the value field.

Is there a way to make filtering dynamic and use the current page title as a value for filtering the search result within the webpart?

 

2 Replies
Highlighted

Hello @stevenam 

 

Even I am looking for this kind of feature. did you got any solution to achieve the result?

 

Thanks

Sith 

Highlighted

@stevenam Hello,

I am afraid that you would need to create your own SPFx web part to achieve this in the short run.
However, I recommend writing about this in the uservoice and get some votes up! :)

Yours sincerely,
Aref Halmstrand