AI OnAI Off
Solved it like this(With episerver.find):
var i = SearchClient.Instance.Search<MyBlock>()
.For(searchQuery)
.GetContentResult();
foreach(var p in i){
var y = p as IContent;
var z = ServiceLocator.Current.GetInstance<IContentRepository>();
var z1 = z.GetReferencesToContent(y.ContentLink, false);
//dosomething
}
Hi,
given a ContentLink on a Block, how do I find all pages where this block is added? It is a shared block.