Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Centurio on June 24, 2010, 02:10:20 am
-
Hi there,
I'm trying to get a Notes (<memo>) entry from a particular tagged value entry.
I've tried to get it with this sequence:
{Element.valueOf(particularTag.Notes)}
which doesn't work
With the sequence
tagged value >
{ElementTagVal.Notes}
< tagged value
I got the information of all Tagged Value Notes, what I don't need >:(
I will appreciate for any help
Centurio
-
Hi Centurio
You can use a filter.
Open your template and then
File->Document Options
Choose the Element Filters tab
Add Filter
Use the drop down to select Tagged Value
Use the chack boxes to set up the filter
HTH
Graham
-
I'd like to pitch in. Although I agree that the proposed approach to getting the particular tagged value out will work, doesn't it bind the template to the particular tag type? If that is the case, it means that it is necessary to have far more templates than otherwise. Or am I missing a trick (please)?
-
Hi
This is true as the RTF generator does not have any control logic >:(
-
Thank you for your hints,
but it won't work >:(.
Seems, this filter only filters _Elements_ with that criteria, not the
TaggedValue Notes itself.
I don't know how to get the 'Filter-result' for the report as well.
One option is to use linked documents, but that's time-consuming
We need really more than 255 chars.
Thanx
Centurio