archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
916 stars 267 forks source link

Label expression for access-relationship does not show Access Type #885

Closed olwol closed 1 year ago

olwol commented 1 year ago

Version of Archi

4.10.0

Archi Plug-ins

Collaboration Excel Scripting Lightbox

Operating System

Windows 10

Expected Behaviour

I have an access relation created and I want to show the access type (Read, Write, ...) using the label expression.

In a view I have:

We have the following prefixes for label expressions for connections:

The following works as expected.

But

I am expecting to get the name of the relation concept in model tree as it is the visual relation concepts parent, isn't it? And I expect either $parent{accessType} or ${accessType} to work and show "Read".

When I use scripting and the access-relation is the selection, the following

shows "Read". But it does not work without the ".concept.". So, it is not available with the visual element. Due to this, I am wondering, whether it would be intended to be available with $parent{accessType} but is missing for some reason.

Is this a bug?

Phillipus commented 1 year ago

Hi, Access type is not implemented in Label expressions, and we should consider it for the next time we work on expressions. The only expressions that are supported to date are those in the wiki.

olwol commented 1 year ago

Hello, I'd appreciate it if you put it on your to-do list to work on it next time you work on expressions. Thanks for the quick response.

Phillipus commented 1 year ago

OK, but let's keep the issue open so I remember. :-)

Phillipus commented 1 year ago

Will be in Archi 5