Property description

The columns property defines visible columns in an API table.

Minimal JSON

{
    "type": "",
    "value": ""
}
"columns": [
    {
        "type": "definedKey",
        "value": "objectName"
    },
    {
        "type": "definedKey",
        "value": "statusName"
    },
    {
        "type": "definedKey",
        "value": "objectTypeName"
    },
    {
        "type": "definedKey",
        "value": "applicationName"
    },
    {
        "type": "definedKey",
        "value": "path"
    },
    {
        "type": "definedKey",
        "value": "lastChange"
    }
]

Example taken from the core package.

Nested properties

PropertyDescriptionValuesMandatory
typeType of displayed attribute.string*Yes
valueValue type.stringYes
bulkEditableEnables the selection multiple rows in a table and bulk editing values in the selected column (e.g., change all selected workflow statuses provided that the user has sufficient permissions). To use this property, make sure bulkEditable is true on the API table level as well. Not available for externalKey type value.booleanNo
clearNewLineSpecifies whether values are separated into multiple lines (e.g., each label will have its own line). Available only for attributeTypeKey and externalKey type values.booleanNo
filterConditions used to limit or refine data selection. For more information, see filter. Available for: tables with extraRequestData (see api-table), externalKey column type.jsonNo
isHTMLDetermines whether value is shown with HTML tags.booleanNo
maxLengthMaximum number of characters that is shown in a field.numberNo
minWidthMinimum width of a column. When defined, value must be within the range of 100 to 500.integerNo
titleTranslation key of the title. Define the key in translations to specify how the text is displayed in the UI. Unlike the name property, if you use a specific string of text for the title, this text will appear with the package key. For example, Comment Section will be displayed as package_key_comment section.stringNo
tooltipKeyTranslation key of the tooltip that appears when hovering over the property. Define in translations to specify how the text is displayed in the UI.stringNo

*Supported type values

TypeDescription
attributeTypeKeyThe column contains values of the specified attribute type.
customActionButtonAdds a clickable button that triggers a POST request. For more information, see customActionButton configuration.
customActionSelectBoxAdds a dropdown selector backed by a codelist or manually defined values. For more information, see customActionSelectBox configuration.
definedKeyPredefined attributes such as object name, workflow status, or last edit timestamp. For more information, see supported definedKey values.
externalKeyThe column contains values from an external data source defined when the API endpoint is /api/sql-external/table.
relationTypeKeyThe column contains objects related via the specified relation type.
userRelationTypeKeyThe column contains users related to the object via the specified user relation type.

Supported definedKey values

ValueDescription
accessedTimeTimestamp when objects were last visited.
applicationNameNames of the applications where the objects are.
commentText of the comment. Available only for the comments API (/api/mr-comment/customizable-overview-filter).
createdTimestamp when the comment was created. Available only for the comments API (/api/mr-comment/customizable-overview-filter).
creatorNameNames of the object creators.
isMentionedNames of users mentioned in comments. Available only for the comments API (/api/mr-comment/customizable-overview-filter).
lastChangeTimestamp when objects were last changed.
numberOfFavouritesNumber of users who favorited the objects.
numberOfRelationsNumber of relations the objects have.
objectKarmaTotal count of likes and dislikes for the objects.
objectNameNames of the objects.
objectNameWithNumberingNames of the objects including their position number in the hierarchy.
objectPathObject paths (breadcrumbs).
objectTypeNameObject type names.
pathObject paths.
spaceNameNames of the spaces where the objects are.
statusNameWorkflow statuses of the objects.
updaterNameNames of the users who last updated the objects.
userRelationTypeKeyNames of users with the specified user relation type to the objects.
viewsAllTimeTotal visits to the objects. Each page load counts as one visit.
viewsIn1MTotal visits in the past one-month period. Each page load counts as one visit.