Try our conversational search powered by Generative AI!
AI OnAI Off
Hi,
Have a look at the Alloy demo, more specific GetAll<T>(ContentReference rootLink) in the ContentLocator. You could get all descendents of a specific type that way.
Hi guys,
I am a newibie in episerver. I have been learning and i am kind of stuck in a situation.
I need to read the content of each page or more over each links in epierver. I used getDescendent which gives me whole bunch of ID.
I used
var contentLoader = ServiceLocator.Current.GetInstance();
contentLoader.Get(someId);
I could manupulate the output to get the desired content but it fails when the code finds a folder of type contentfolder as below
so, i need to know if i can use geeDescendents to get Id except for ContentFolder.If yes please help me understand it.
Any help will be much appreciated.
Thank you