Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Jeff Odell on November 27, 2014, 09:56:52 am

Title: Reporting a single tag value
Post by: Jeff Odell on November 27, 2014, 09:56:52 am
You can report the set of tags associated with an element in the report templating engine using:

tagged value >
{FeatTagVal.Name} = {FeatTagVal.Value}
<tagged value

Is there a way to print an individual tag value rather than the entire list?
Title: Re: Reporting a single tag value
Post by: Eve on December 01, 2014, 08:50:26 am
Right click in the element section
Select Insert Field | valueOf
Type the name of the tag that you want to report.

You end up with something like:
{Element.valueOf(assignedTo)}
Title: Re: Reporting a single tag value
Post by: Jeff Odell on December 11, 2014, 05:38:44 am
This does not seem to work with attributes ... I'm trying to get either the 'property' tag or the 'AutoNum', 'StartNum' and 'Increment' values from a column in a table.

The default table template has:

tagged value>
  Properties:
    {FeatTagVal.Name} = FetaTagVal.Value}
< tagged value

I removed this tag so I was within the <attribute tag.  The valueOf field is offered, but when I put it in I get:

{Att.valueOf(property)}


and it does not print

Am I missing something?  Thanks for your reply.