How to use Delivery API to query on linked items or subpages

James Li asked on November 10, 2020 09:37

I am using Web Spotlight to organize my content in a page tree. I am trying to generate an URL of a subpage by concatenating the slug of the parent pages to form a complete URL path.


  • A
    • B
      • C

The subpage C will result in the following URL /a/b/c

To be able to do this I need to get the parent of C up till the "root".

As the item C doesn't have any information regarding the parent I want to do a query using the Delivery API on the subpages element of an item. If I can do the query I will able to know that B is the parent of C and to the same up till the "root".

Is it possible to do a query and filter on the subpages (or linked elements) using the Delivery API?

Recent Answers

David te Kloese answered on December 10, 2020 09:36

This forum is quite specific for Kentico Xperience. Best to check

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.