Labels and Specializations - Template?

Started by cadmageren, October 07, 2024, 15:43:11 PM

Previous topic - Next topic

cadmageren

Been working with some basic Archi diagrams.

I can see it is possible to set custom properties and a custom label on an object, which is great - however it becomes cumbersome when I have to do it every time?

${name}\n(${property:Initials})

Lets say i want to place an Actor, and also add the specific users initials as a property.
Isn't there a way to make sure that both property and label is set automatic every time?


Jean-Baptiste Sarrodie

Hi,

There's no built-in feature for that. So a jArchi script might be a handy solution.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

cadmageren

Thanks. Yeah I better start looking at jArchi

Just thought i might be missing something.
To me it sounds logical that specialisation is for this purpose.

Jean-Baptiste Sarrodie

Hi,

Quote from: cadmageren on October 07, 2024, 22:07:01 PMTo me it sounds logical that specialisation is for this purpose.

Not at all. Specialization is the way the ArchiMate standard deals with custom concept types. ArchiMate also has the notion of "Profile" which is a name you give to a set of properties (but this part is not implemented in Archi). Both notions are linked (a specialization can come with its profile, even though this is not mandatory).

In your example, you only deal with native types, so specialization is of no help. If you really want both informations to be shown every time (without a script), you'll have to add the initials to the Actor's name. (Btw, in your case, if you want to mix both the "abstract" actor and "concrete" person, then Initials are really the Actor's name, while things like "Mecanical Engineer" are in fact the Business Role the Actor is assigned to).

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.