My organization uses SharePoint Online, and I'm trying to set up a modern page that uses the "Highlighted Content" web part with some custom CAML or KQL filtering.
What I'd like to do is:
Add a site column (lookup value) to the Pages library.
Create a modern site page with the Highlighted Content web part with a custom filter that is set to display all files/resources that share the same lookup value as the page being configured.
Users setting up this page won't necessarily be SharePoint experts, so I'm hoping once I get this working to turn this into a page template to automate the filter logic as determined by how the author tags each page.
I'm familiar with assigning the site column tot he page library, and I've seen references to CAML/KQL logic that filters by specific fields, but I haven't been able to tie it back to how the parent page is configured. Any assistance would be appreciated.