When I use the DataType of Tags in the Content Fragment Model and reference it from GraphQL, it returns the tag path (e.g. my-sites:tag-layer1/tag-layer2). How can I get the name of the tag (jcr:title) from GraphQL in addition to the tag path?
I don't think you can get the title of tag in Graph QL since the iD of the tags are stored in array. You are just querying the schema values in Graph QL.
Query Builder API has the flexibility to read the same IDs and use the tagManager API to get the tag and read its title.
I don't think you can get the title of tag in Graph QL since the iD of the tags are stored in array. You are just querying the schema values in Graph QL.
Query Builder API has the flexibility to read the same IDs and use the tagManager API to get the tag and read its title.