Closed heikkil closed 3 years ago
This is intended.
Folder label expressions affect the display of child objects, not the folder itself. Folders inherit the label expression of their parent folder.
https://github.com/archimatetool/archi/wiki/Label-Expressions#folders
I seemed to have missed that piece of information about folders, thanks.
However, I do have a subfolder to the Views folder and they both have properties properly set and labels pointing to the model lang property. I can not get the folder names to change whatever I try. Maybe '${property:$model{property:lang}}' is too complex and is not supported?
I do have a subfolder to the Views folder
The expression in a folder or sub-folder is applied to child objects. Folders don't display label expressions.
The above setting works for the Note element but not for the Visual Grouping element
I tested your example above and bit work for Note and Visual Grouping.
Sorry for the trouble. I deleted the message as soon as I realised my mistake.
The problem was a space character at the end of the tag, 'en '. They are really hard to spot. In fact, in structured fields like properties trailing white space should be banned and ideally automatically removed.
Closing as working as intended.
Version of Archi
4.8.1
Archi Plug-ins
no
Operating System
MacOS 10.15.7 (19H524)
Expected Behaviour
When I define a label expression for a folder to control the visible name in the model tree window, the visible name should change.
Actual Behaviour
The visible name does not change
Steps to Reproduce the Behaviour