Label Expression

Started by JoCriSem, July 23, 2021, 13:16:20 PM

Previous topic - Next topic

JoCriSem

Hi, I have multiple properties which I would like to show on a relationship using label expression when I run a script.

eg.

prop1 = 123
prop2 = 234
prop3 =345

I know I can do one of them by using element.setLabelExpression("${property:prop1}") in my script but would like to add the others too.
Any idea?

Phil Beauvoir

element.setLabelExpression("${property:prop1} ${property:prop2} ${property:prop3}")
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

JoCriSem

 :-[ :-[

should have tried without , between the expressions.

:-[ :-[

Thanks