Forum Discussion
miclarsen1
Jan 28, 2021Brass Contributor
HCWP - Custom query from selected site
Hi all, I am trying to use the HCWP to fetch some content from outside the site collection where I have placed the HCWP. For this purpose I am using a custom query in order to get content from ...
- Jan 28, 2021
Yes, that is the link to list itself. You can filter it out using below query so that HCWP will only show the list items:
Path:"https://tenant.sharepoint.com/sites/siteName/lists/listName" contentclass:STS_ListItemPlease click Mark as Best Response 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
Jan 28, 2021MVP
Yes, that is the link to list itself. You can filter it out using below query so that HCWP will only show the list items:
Path:"https://tenant.sharepoint.com/sites/siteName/lists/listName" contentclass:STS_ListItem
Please click Mark as Best Response 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.
miclarsen1
Jan 28, 2021Brass Contributor