Author Topic: Tagged values in reports  (Read 3661 times)

DanG83616

  • EA User
  • **
  • Posts: 180
  • Karma: +0/-0
    • View Profile
Tagged values in reports
« on: September 15, 2009, 10:13:04 am »
I would like to select which element taged values show up in a report. I'm using:

tagged value >
{ElementTagVal.Name}: {ElementTagVal.Value}
< tagged value

I really only want the tagged value when Name == Id. Is there a way to do this?

Thanks,
Dan

Takeshi K

  • EA User
  • **
  • Posts: 571
  • Karma: +35/-1
    • View Profile
Re: Tagged values in reports
« Reply #1 on: September 15, 2009, 10:59:58 am »
Please try to use the 'ValueOf' item. You can specify the target Tagged Value when using this item.

--
t-kouno

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Tagged values in reports
« Reply #2 on: September 15, 2009, 01:59:14 pm »
We have only just documented the RTF Report valueOf field in the Help for build 849, in the Add Content topic (look for RTF Style Template Editor      Add Content in the Help index). Pending the release of that build, here is the description of the field.

--------------------------------------------------------------------------------

For certain sections of the report content, you can add a field to capture a special characteristic of a model component, as defined by a specific Tagged Value. This is the valueOf field, shown in the list for a connector section in the above graphic. The sections that provide the valueOf field are:
  • Package
  • Element
  • Connector
  • Attribute
  • Operation
When you select the valueOf field from the context menu, the template editor prompts you to specify the tag (Tagged Value) from which to extract the value for the report output. This tag should be one of the tags associated with the model component, such as ConnectorAltName for a connector. When you provide the tag name, the template editor adds the field at the cursor position, in the format:

{Connector.valueOf(tagname)}      for example: {Connector.valueOf(ConnectorAltName)}

For clarity, you could type some lead-in text or the meaning of the Tagged Value immediately preceding the value field; for example:

Alternative Name: {Connector.valueOf(ConnectorAltName)}
Best Regards, Roy

DanG83616

  • EA User
  • **
  • Posts: 180
  • Karma: +0/-0
    • View Profile
Re: Tagged values in reports
« Reply #3 on: September 16, 2009, 03:15:25 am »
Perfect!

Thank you,
Dan