Zum Inhalt springen

cmsBlocksByParent

Get all CMS blocks for a parent object

Type: [CmsBlock!]!

Arguments

  • area: String — Key of a content area; only blocks of its block types are returned.
  • onlyPublished: Boolean! — default: true — Only published for the operation.
  • parentID: ID! — UID of the parent to retrieve.
query($area: String, $onlyPublished: Boolean!, $parentID: ID!) {
cmsBlocksByParent(area: $area, onlyPublished: $onlyPublished, parentID: $parentID) {
blockType
blockUID
childItemLinkType
currentLink {
createdAt
createdBy
fileTagID
level
linkToObjectID
linkType
linkedObjectID
objectID
orderNr
}
editorDeepLink
id
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
publishedVersionNr
versions {
cmsBlockVersionID
comment
createdAt
versionNr
}
}
}