London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Get all pages of a certain page type

Vote:
 

How can I get a list of all the pages under a certain page type? 

I am trying to create a page where I will show a list of all the articles which would be under page type Article Page. 

I have found a soultion which let me gets all the decandants but I would like to get all pages irrespective of the parent but only based on the page type. 

#185564
Nov 24, 2017 9:55
Vote:
 

Do you use Episerver Find?

#185567
Nov 24, 2017 11:29
Vote:
 

Nope. 

#185570
Nov 24, 2017 11:31
Vote:
 

Have you tried to use

DataFactory.Instance.FindPagesWithCriteria
#185590
Nov 27, 2017 9:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.