Property description

The filter property filters the results on an API component (table, card, or chart).

Minimal JSON

{}
{
  "applicationId": {
    "value": "@appId"
  }
}

Usage

Filters don’t have a predefined list of nested properties. To create a filter:

  1. Specify the parameter the filter should apply to.
  2. Provide a key or ID in the following formats to define which valueof the parameter is used as the filter:
    •   string => { "value": "@exampleId" }
        or
        integer => { "value": [ 1 ] }
        or
        array of integers => { "value": [ 1, 2 ] }

Supported filters

The list below provides an overview of commonly used filter parameters.

Note that filters must be compatible with the component and API endpoint they are applied to. For a complete compatibility overview, refer to the API documentation documentation.

FilterDescriptionValueSpecial supported values
additionalObjectRelationsApplies filtering based on object relation type IDs. Used together with relationTypeKey to include or exclude data linked through specific relations.array of integers
applicationIdApplies filtering based on application ID. Find the application ID in your Dawiso instance URL after .../app/.integerUse @appId to specify the current app.
applicationIdsApplies filtering based on multiple application IDs.array of integers
currentUserRelationIdsApplies filtering based on the current user’s relation IDs. Each user relation ID represents a custom identifier used for filtering. You can define new user relation IDs using the following properties: additionalUserRelations: Defines new user relation IDs., userRelationValues: Assigns users to the defined relation IDs., currentUserRelationIds: Specifies which relation IDs apply to the current user.{ "filter": { "additionalUserRelations": [ 11 ], "userRelationValues": { "11": "Name Surname" }, "currentUserRelationIds": [ 11 ] } }array of integers
currentUserRelationTypeKeysApplies filtering based on the current user’s relation type keys. For example, only objects where the current user is an owner are displayed.array of strings
hierarchyIdApplies filtering based on object hierarchy ID. Used for hybrid hierarchies to filter objects in a folder or child objects (alternative for the parentObjectId filter which is not available for hybrid hierarchies).integerUse @hierarchyDefinitions to specify the currently used hierarchy.
includeRelationsIdIncludes the specified relation type ID.integer
includeSubspacesDetermines whether subspaces are included in the count.boolean
includeUserRelationIdsIncludes the specified relation type IDs.array of integers
facetsApplies additional facet filtering.json
favouriteObjectTypesApplies filtering of favorite objects based on object type IDs.array of integers
formIdApplies filtering based on form ID. For more information, see Search Forms.string
fulltextSearchIdApplies filtering based on fulltext search ID.integer
languageCodeApplies filtering based on language code (e.g., EN-eng).string
lastSelectedFacetApplies filtering based on the last selected facet.string
levelsApplies filtering based on the hierarchy level. Used in combination with the parentObjectId filter to select the specified levels of child objects.integer
objectTypeKeyApplies filtering based on object type key.string
objectTypeKeysApplies filtering based on object type keys.array of string
objectTypeIdApplies filtering based on object type ID.integer
offsetDefines how many results to skip before returning data. Often used together with size.integer
parentObjectIdApplies filtering based on parent object type ID. Find the parent object ID in your Dawiso instance URL after .../object/.integerUse @objectId to use the current object as the parent.
relationTypeKeyApplies filtering based on user relation type key.string
searchFilterApplies filtering based on the search filter.json
sizeSpecifies the maximum number of items to return in the result set. Often used together with offset.integer
sortApplies filtering based on the object sort type.json
spaceIdFilters data based on a space. Find the space ID in your Dawiso instance URL after .../space/.integerUse @spaceId to specify the active space.
statusNameFilters based on translation key of workflow state.string
useSimpleQueryOnlyDetermines whether only simple search queries are used.boolean
workflowStateKeyApplies filtering based on workflow state key.string
workflowStateKeysApplies filtering based on workflow state keys.array of string