Hi,
We need to do some extra process when deleting a block, we need a list which using the block, but don't know how to get this list.
Please anyone know how to get this list can give me an advice?
Thank you very much
Hai
Check the non-striked example in my blog article
http://talk.alfnilsson.se/2013/06/05/find-pages-containing-a-certain-content-in-a-contentarea/
Thanks,
Below code gave me the expected result:
var repository = ServiceLocator.Current.GetInstance<IContentRepository>(); var refPages = (List<ReferenceInformation>) repository.GetReferencesToContent(pageLink, false);
Hi,
We need to do some extra process when deleting a block, we need a list which using the block, but don't know how to get this list.
Please anyone know how to get this list can give me an advice?
Thank you very much
Hai