Skip to main content
2 of 2
fixed readability
Bart Koopman
  • 29.6k
  • 3
  • 40
  • 90

There is no perfect filter that does this. The closest thing I can think of is the ItemsFilterData with the Recursive property to True. However, this will simply get all the items in a given Publication/Folder/SG recursively through all nested subitems.

I think in your case you will need to get the ID of your level 1 Component, fetch that Component, get the ID of the next level and so on. Basically drill down until you get to the Component that's on a Page.

Nickoli Roussakov
  • 18.4k
  • 4
  • 31
  • 62