GraphQL request for getting all items across SDL Tridion Sites and SDL Tridion Docs that share the same Keyword
The mashup feature lets you tag SDL Tridion Docs content with the same Keyword specified in a Taxonomy in SDL Tridion Sites, and used to tag SDL Tridion Sites content.
The following very basic query returns the IDs of all items in either SDL Tridion Sites or SDL Tridion Docs that have the Keyword with ID 9006:
{
items(
filter: {
or: [
{customMeta: {key:"FMBCONTENTREFTYPE.logical.element", value:"9006"}},
{keyword: {categoryId: 222, keywordId: 9006}}
]
}
) {
edges {
node {
id
}
}
}
}