Book a Demo

Author Topic: How should I use tagged value for doc. generating?  (Read 3831 times)

HotJuly555

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
How should I use tagged value for doc. generating?
« on: August 26, 2015, 08:35:25 pm »
Hello!

I use EA 12. I want to generate document with tagged value. At the beginning I create search model (My Searches->My Search), where the element version value is "2.0", and save it. Then I go to model document and set tagged value (SearchName = MySearch, SearchValue = 2.0). I generate rtf document. There are elements with any versions (1.0, 2.0, 3.0 and e.t.). But I want see 2.0 version ONLY. What should I do for it?

Thanks!!!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How should I use tagged value for doc. generat
« Reply #1 on: August 26, 2015, 08:49:46 pm »
That seems like the correct way to go.
Are you sure the search works correctly?
Or maybe you still have "child elements" selected in your template?

Best to try it with a very simple example, and then start adding complexity.

Geert

HotJuly555

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How should I use tagged value for doc. generat
« Reply #2 on: August 26, 2015, 09:06:07 pm »
Thank you for answer!

I verify searh on Find in Project panel and search works correctly. But document generates incorrectly. Child elements are not selected.
« Last Edit: August 27, 2015, 04:08:53 pm by HotJuly555 »

HotJuly555

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How should I use tagged value for doc. generat
« Reply #3 on: August 27, 2015, 04:11:47 pm »
Maybe, is it EA bug? :'(

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How should I use tagged value for doc. generat
« Reply #4 on: August 27, 2015, 04:33:55 pm »
It might.
To be sure you can contact sparx support. They will surely be able to help you out.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How should I use tagged value for doc. generat
« Reply #5 on: August 28, 2015, 08:18:45 am »
There's a checkbox on the Options page (set it in the template rather than the generation dialog if you want it persisted) called 'Include child elements even if the parent element is filtered out'.

Does that help?