Datahub - How I get Subitems of Objectlist

Hi there,

I’ve create an objectclass “mfContent”. In this object there is an field “pageSubItems” of type “Many-to-Many Object Relation”. In a new created Object I added three Objects of Type “mfSubContent” into this field “pageSubItems”.

In “datahub” I’ve create a new Configuration “content”. As QuerySchema I set “mfContent” and inside this Entitiy “pageSubItems”.

On this page:

so I set my query as follow:

{
  getMfContentListing {
    edges {
      node {
        pageTitle
        pageSubItems {
          ... on object_mfSubContent {
            id
        }
      }
    }
  }
}

But the Output is an empty array.

Andreas

OK,

I have to allow to access objectPath to subObjects also in “DataHub/security Definitions”

Andreas