Book a Demo

Author Topic: Generate documentation - exclude tagged value  (Read 4226 times)

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Generate documentation - exclude tagged value
« on: April 17, 2015, 05:42:47 pm »
Hi,

In the template, tagged values are added like this:
Code: [Select]
tagged value >
{ElementTagVal.Name} {ElementTagVal.Value}
< tagged value

However, multiple tagged values exists on my requirement objects which I don't always/all need in exported documents.

Is it possible to exclude tagged values from the generated documentation? If so, how?

Thank you,
Robert
« Last Edit: April 17, 2015, 05:43:32 pm by robertl »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Generate documentation - exclude tagged value
« Reply #1 on: April 17, 2015, 06:08:31 pm »
Yes

Within an Element section of your RTF template add the following Element Field

[highlight]valueOf[/highlight]

You will then presented with a dialog where you can enter the name of your tagged value.

Last time I tried this with a tagged value of type Memo, I got the text <memo> rather than the contents of the memo, but they may have changed in recent versions

Phil
Models are great!
Correct models are even greater!

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Generate documentation - exclude tagged value
« Reply #2 on: April 17, 2015, 07:29:04 pm »
Great, that will work perfectly!  :)

Thanks,
Robert

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Generate documentation - exclude tagged value
« Reply #3 on: April 17, 2015, 07:32:17 pm »
One more thing, I looked for {Element.notesOf(...)}, is something like that possible as well?