Issuing Stereotypes (#1521)

I want to issue the stereotypes of an object in a similar way then the tagged values. I tried this construct:

If:GreaterThan(Element.Stereotypes.Count, 0)

AddNewParagraph

AddText("Stereotypes")

ForEach:Element.Stereotypes

AddNewParagraph

AddText(Stereotype.Name)

EndFor

EndIf

Even if the count is greater than 0, I got no values issued.

Created
16 August 2017 11:11:36
Closed
17 August 2017 22:29:47
Requested by
Stefan Menten
State
Solved
Version
11.10
OperatingSystem
Window 7/10
Solved in
Unsolved

Dusan Rodina - softwareideas.net 16 August 2017 22:22:31

Please, try to change your code to:

If:GreaterThan(Element.Stereotypes.Count, 0)

AddNewParagraph

AddText("Stereotypes")

ForEach:Element.Stereotypes

AddNewParagraph

AddText(Stereotype)

EndFor

EndIf

Then it should work.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]