More in Learn

Fetching Parent Items

Hierarchy is an integral part of Crystallize. Most items have a parent item. This section details how to fetch parent and child items.

In order to perform these operations, ensure that you have the proper authentication (if necessary) and user permissions.

Parent Items

Parent items can be fetched using the parent field. In the example below, we’re fetching the parent name and path of a folder.

Circle loading spinnerImage of a partial circle indicating &qoute;loading&qoute;.Fetching snippet...

Children

You can then fetch all the children contained within a parent item by using the children field. Additionally, you can apply all the item query fields on the parent item.

Circle loading spinnerImage of a partial circle indicating &qoute;loading&qoute;.Fetching snippet...
People showing thumbs up

Need further help?

Join and ask our
slack community.

Join our slack community