Skip to main content
Version: 2026.2

Tree Widgets

A tree widget is a custom tree view representing a subset of elements from the main trees. Configure tree widgets for documents, assets, and data objects to provide focused views for specific workflows or user roles.

Tree Widget Configuration​

Each element tree widget has these properties:

PropertyTypeDescription
idstringUnique widget identifier
namestringDisplay name
iconElementIconIcon with type and value
elementTypestringTree type: data-object, asset, or document
rootFolderstringRoot path for the tree (e.g., /Product Data/Cars)
showRootbooleanWhether to display the root folder node
classesarrayRestrict to specific data object classes (e.g., ['CAR'])
pqlstringPQL filter expression to subset the tree
pageSizeintegerNumber of items per page in the tree
contextPermissionsobjectTree context menu permissions (see below)
note

For tree pagination to work correctly, a parent node must be available. If the root level has more items than pageSize, set showRoot to true.

Tree Context Permissions​

Control which context menu actions are available in the widget tree. Each permission is a boolean flag. The available permissions depend on the elementType.

Filtering with PQL​

Use the pql property to filter which elements appear in the widget tree.

Custom Widget Types​

The built-in widget type is element_tree. To create new widget types (e.g., dashboards, custom panels), see the Custom Perspective Widgets extension guide.