I am trying to figure out how get the parent page content id in Percussion for the current page in a managed navigation site.
Is there a java function or JEXL property that can get the parent page content id though the navon relationships?
How do I get the navon id that has the current page in its landing page slot, then get the parent navon of that navon and then get the page content id of that navons landing page?
I am using an autoslot to query all items of a particular content type and using a snippet template to dump the fields to a JSON file.
I tried using a bread crumb snippet template and rffnav slot to get the parent id, but it is rendering the parent id of the content item creating the JSON file with the autoslot rather than the parent ids of each content item being rendered as an item in the JSON file.
I need each items content id and the items parent content id so I can reconstruct the navigation structure of all the items.