Forum Discussion
miguelisidoro
Dec 02, 2020Iron Contributor
Using query variable in Modern Search Web Part (PnP web parts) based on a Choice Page Property
Hello, I am using the web part at https://web.archive.org/web/20201014031829/https://microsoft-search.github.io/pnp-modern-search/search-parts/search-results in a Communication Site and I am trying ...
- Dec 03, 2020
Eva Vogel Solved. Token Page.FieldName must be placed in query template field in the web part, not in the query text Field. Thanks
Eva Vogel
Dec 02, 2020Iron Contributor
miguelisidoro also hello ![]()
miguelisidoro
Dec 02, 2020Iron Contributor
Eva Vogel Hello :), Do you know the solution for this question?
- Eva VogelDec 02, 2020Iron Contributor
miguelisidoro try this: advanced Metadata KQL query language is a tricky one, also with user-defined query criteria on the modern SP layout with the "Highlighted Content Webpart": SharePoint Power Hour: Advanced Managed Metadata & Search - YouTube
All the best from Eva
- miguelisidoroDec 03, 2020Iron Contributor
Eva Vogel Solved. Token Page.FieldName must be placed in query template field in the web part, not in the query text Field. Thanks
- Roco_Alvarez_MoretJul 10, 2021Copper Contributor
we have the same problem. Could You please explain the solution better? With the example…