Author Topic: Child elements with document script  (Read 106 times)

RWHurra

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Child elements with document script
« on: November 28, 2017, 01:20:43 am »
Hello!

I use a document script to send elements to the document generator. In my template I have Child Elements ticked.

However no child elements are reported. I tried to send the child elements to the report through the document script as well but it just report it as regular elements, not as child elements to the element in focus.

Any idea what's going on?

Thanks!

RWHurra

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Child elements with document script
« Reply #1 on: November 28, 2017, 02:02:32 am »
If I use the same template directly on an element (without document script) it works like a charm.

With document script, nothing in child elements.

Bug or do I have the wrong approach?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7752
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Child elements with document script
« Reply #2 on: November 28, 2017, 04:10:34 pm »
That is indeed how it seems to work.
Whether it is a bug or a "feature" I leave in the middle.

Geert