Get details from Site Collection A to SiteCollection B

Ramesh Veera 1 Reputation point
2020-08-06T13:22:32.31+00:00

Hi Team,

Please help me to get details as mentioned below scenario in SharePoint Online.

-> I have different Site collection (SC A and SC B)
-->How to get SC B detail in SC A through search.

Thanks

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,194 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. svijay-MSFT 5,201 Reputation points Microsoft Employee
    2020-08-06T15:59:34.45+00:00

    Hello @Ramesh Veera ,

    You could configure a new Result source in the origin site collection (SC A in your case) and make it pull results from the destination Site Collection (SC B).

    To know more about result source please refer this.

    I created a new Search Result Source with a below query text.

    **Site Settings (site_url/_layouts/15/settings.aspx) -> Site Collection Administration -> Search Result Source -> New Result Source **

    I gave a name and clicked on the Launch Query Builder to build a custom Query Text.

    16087-image.png

    You could refer this to know more about building queries and you could customize further as per your needs
    Now save this Result source and make this as Default Result Source for the site collection

    16174-image.png

    The above query pulls all items from the SearchBox which contains the Path of the other site collection. Now when you perform search you will get results from path defined in the custom Result source

    16097-image.png

    Hope this Helps :)

    0 comments No comments