Skip to content

Custom attribute "key" is not applied #161

Description

@AndrewKMoses

Affected Version

2025.4 - LTS

Affected capability

Data Objects

Steps to reproduce

Add event listeners for DataObjectDetailEvent::EVENT_NAME and/or DataObjectEvent::EVENT_NAME and set do

$customAttributes->setKey($event->getDataObject()->getKey() . '-test');
$customAttributes->setIcon(
    new ElementIcon(ElementIconTypes::NAME->value, 'car')
);

$event->setCustomAttributes($customAttributes);

Actual Behavior

The icon is shown in the detail view and tree, but the key is not applied in any of the tree or detail view.

I see no references of key in the studio ui code for custom attributes. I only see references for icon and tooltip.

Expected Behavior

The key should be applied in the tree and detail view.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Platform Version

    2025.4 - LTS

    Affected capability

    Data Objects

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions