Is there a way to filter DataFactory.Instance.GetReferencesToContent on sites? E.g. we want only to get references on the same site as the user visits.
We have a multisite solution and I've tried to fetch a SiteDefinition or a startpage or anything that I can compare to the original reference but haven't found any way of doing that. Haven't found a way of getting a SiteDefinition from either ContentReference, PageData or any other object. Feels weird that it should be so difficult so I have a feeling that I'm missing something.