Forum Discussion
Dhiran Gajjar
May 17, 2023Iron Contributor
KQL for retrieving list items
Hi, I am trying to use the highlighted content webpart to show items from a list but I cannot get it to work at all. The list is called "Tools" and in the KQL syntax I am trying to use p...
- May 17, 2023
Dhiran Gajjar Use query in below format, it works for me:
contentclass:"STS_ListItem" path:"https://contoso.sharepoint.com/sites/SPConnect/Lists/ChildList"Output:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanap
May 17, 2023MVP
Dhiran Gajjar Use query in below format, it works for me:
contentclass:"STS_ListItem" path:"https://contoso.sharepoint.com/sites/SPConnect/Lists/ChildList"
Output:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.