How to get parent content item

Hello all,

We are trying to find out some details of parent content item from a content item that was assembled in to a relationship content finder slot of parent item.

Please share some solutions if someone has worked on a similar thing.

-Thanks

Lovel,

There are 2 basic ways to do this:

  1. Use the PSORelationshipTools findAllParents() JEXL function (I’ve explained this in a previous email)

  2. Use the Reverse Slot Content finder and build a Slot.

Which one you choose depends on whether you want just some “data” (e.g. a variable setting in the template) or you want to render the parent item in a Template.

Dave