Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

EPiServer Find vs IContentRepository.GetDescendents()

$
0
0

Hi,

Using EPiServer CMS 11
Using EPiServer Find 13

I've a requirement to get all decendent pages in couple of places in a site I'm working on, we may also want to narrow the results to a particular type of page.

Is using EPiServer Find a good alternative to GetDescendants? Part of me thinks querying the database by hand may be the fastest option, though that is not as easy to maintain as just using the EPiServer CMS API, but I see other blog posts mentioning that EPiFind may be the best option? This seams dubious to me as EPiFind would require an http call etc etc, while the API should just be able to query the sql server db and get results out real quick, unless EPiFind has some clever caching going on? What is the accepted wisdom on this one?

The use case is we wish to list all blog/news/events/etc pages, and editors add to the list by adding child pages under the parent.


Viewing all articles
Browse latest Browse all 6894

Trending Articles