Archi Forum

Discussion Boards => jArchi => Topic started by: JoCriSem on July 23, 2021, 12:16:20 PM

Title: Label Expression
Post by: JoCriSem on July 23, 2021, 12:16:20 PM
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?
Title: Re: Label Expression
Post by: Phil Beauvoir on July 23, 2021, 12:19:56 PM
element.setLabelExpression("${property:prop1} ${property:prop2} ${property:prop3}")
Title: Re: Label Expression
Post by: JoCriSem on July 23, 2021, 12:34:58 PM
 :-[ :-[

should have tried without , between the expressions.

:-[ :-[

Thanks