Author Topic: Showing the model tree path location of a view in the Note element on that view  (Read 56 times)

Manj75

  • Senior Member
  • ****
  • Posts: 152
Is there a way to show the full path of the View within that view itself in a Note element?

If I have a property for example 'Created By' = 'MyName' I can easily create a Note element in that view and display this value using the Labels tab.  I want to be able to similar to show the full path of the view.

e.g.

Code: [Select]
ModelName
  Views
     MyFolder
       MyView

In MyView I want a Note element that get populated with 'ModelName\Views\MyFolder'

Not sure if this is at all possible natively in Archi as using jArchi would alway require it to be run.

Jean-Baptiste Sarrodie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 695
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Hi,

This is not possible as there is no label expression for that. That could be a good idea for a future version (and then please create an issue for that on GitHub so that we can track it).

In the meantime, the only way to do something similar would be to run a script that would compute this path and save it as a view property that you can later reference on a label.

Regards,

JB
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Manj75

  • Senior Member
  • ****
  • Posts: 152
Thanks JB - I've created the issue [Feature Request] Access the model tree path location of a view using Labels #752

Using a jArchi script can achieve this but it would have to be run each time, it's better to have this natively supported