I can't pull tags name and values out of a model using ReporterPlus. Do you know how to do it? Or even better, would you please send me a sample template to do that?
Pinned topic Pull Tags name and value from ReporterPlus
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-06T16:51:41Z at 2012-11-06T16:51:41Z by Champagne
Champagne 2700027YW642 Posts
Re: Pull Tags name and value from ReporterPlus2012-11-06T16:51:41ZThis is the accepted answer. This is the accepted answer.To extract the tags in ReporterPLUS:
I assume you want the tags on each model element:
All you do is add an iteration to the model element in the report you would like to see the tags for (add new item select the iteration tab check the "iterates" check box), in the iteration tab set the "Iteration Type" to "Association" then select "tags" from the drop down list.
Then all you need include in the node beneath the iteration you created are the <<$name>> and <<$value>> attributes, it will probably have already added a <<$name>> in the Header.
This will report out all the names and values for the model element.
If you were to want to extract all the tags in the model (can't see what use this would be at the moment) but if you did just add a new iteration and set the iteration type to Class then select Tag from the drop down list.
I have attached a template with one node that finds all the classes in a model and lists their tags and a second node that just finds all the tags and list them.