Just like the title says, I'm trying to build a search-driven navigation that gets its results (navigation links) from a Search Results Web Part (SRWP). Right now, I'm working on creating the right query: first, I wanted to search based on
ParentWebUrl somehow, where
WebTemplate is either a few different types (like
STS) or all and some type of information from the parent site to get all the child sites and their child subsites, and so on. Is there a better way to do this?
My query so far:
As you can see, it's very incomplete and while I have the Search Navigation Web Part (SNWP) looking this web part up, it's displaying nothing even though there are results displaying from the SRWP.
Even if it's not an exact solution, but more explanation and guidance on how to accomplish this will be greatly appreciated. Thank you in advance.