Can you rename Items in Perspective property editor?

Is there a way to rename these Items shown in the picture? For example, I am using the Perspective Menu Tree as my HMI navigation tool. Each button that appears in the tree is called an Item in the Property Editor and gets assigned a number starting from 0. I can change the order of the Items/buttons by dragging and dropping and the number changes corresponding to the new order of the list. But is there a way to make these Items have names that are more descriptive than 0, 1, 2, 3 etc.?

@casper nope, everything within the "props" area of that properties pane are specific properties used by Perspective components and require naming and structures that conform to standards.

You have freedom to set custom properties (ideally at the view level) and parameters (only at the view level) and name them whatever you want. You are also free to bind properties, objects, and arrays to custom properties. This may be a solution to get what you want... Expose your configuration at the view level (e.g. view.custom.myMenu) with names that make sense to you, then use property bindings into the places they are needed for component properties.

Edit: It will still be easiest to use an array (0, 1, ..., n) in a custom property since it allows for easy property binding. You could also use a tree of objects, but it would require a script or an expression to refactor into an array for the menu component.

2 Likes