Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
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.