Experimental + not feature complete! Subject to change without notice.
- Hardlink
- Link
- Page
- Snippet
- Checkbox
- Date
- Image
- Input
- Link
- Multiselect
- Numeric
- Relation
- Relations
- Select
- Table
- Textarea
- Video
- Wysiwyg
- ...
Get Link Document and resolve the target news text.
{
getDocument(id: 76) {
... on document_link {
fullpath
object {
...on object_news {
shortText
}
}
}
}
}
- get object 61
- get manytoone relation
- get target page document
- get link tag
- get referenced page document / or news object
- get input elements of referenced page document / or shorttext of news object
{
getTest3(id: 61) {
manytoone {
... on document_page {
fullpath
elements {
... on document_tagLink {
_tagType
_tagName
data {
internal
path
target {
__typename
... on document_page {
id
fullpath
elements {
... on document_tagInput {
name
text
}
}
}
... on object_news {
shortText
}
}
}
}
}
}
}
}
}
{
getDocument(id: 25) {
... on document_page {
fullpath
elements {
...on document_tagDate {
_tagName
# unix timestamp
timestamp
# as formatted string
formatted(format:"Y-m-d")
}
}
}
}
}