Forum Discussion

María José Pedreira's avatar
María José Pedreira
Brass Contributor
Jul 19, 2018

Refiners of top level sites

HI,

 

In a webpart, I need to refine by the name of the top sites in a site collection.

 

I've found the Managed Properties SPSIteURL and ParentLink...

SPSIteURL: https://mySiteCollection


ParentLink:

https://mySiteCollection/site1/site1b/List/Documents/Forms/AllItems.aspx
https://mySiteCollection/site2/site2b/site2c/List/Documents/Forms/AllItems.aspx

 

or SitePath...

 


Neither of these properties are good, I need to detect site1, site2, ...siteN

 

Any idea about how to get this information in a managed property to use it like an Avaliable Refiner?

 

Thanks

  • Eva Vogel's avatar
    Eva Vogel
    Steel Contributor

    Hi María José Pedreira,

    The easiest way i think is to go to your left navigation. Click the last option, make a new link, insert the title and hyperlink to that entry. Save it.

    The complex way is to insert a content search webpart, maybe in your top level site, in the webpart settings click on "Change Query". There you can define your queries with KQL (Key Query Language).

    If you have an Office 365 as Admin permission, you can go to "Apps and Services", make hyperlinks with Entries in your EDGE Browser and BING Search Machine. I wrote and article about that on my site https://evotrain.de/11-bing-suche-mit-office-365-leicht-gemacht.html.

    Maybe you can check out the screenshots to see how to settle that.

    Hope that helps.

Resources