Book a Demo

Author Topic: Document Generation - Fragment - Custom Query yields blank  (Read 3422 times)

aguevara

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Document Generation - Fragment - Custom Query yields blank
« on: March 09, 2017, 12:42:33 am »
I have created a document template and am trying to include the results of a fragment into it.

I go through the steps to create the fragment without any issues. The fragment is composed of a very simple custom query (select name from t_package).

I then inserted the fragment into the template as shown in red below.

When I generate the document, the package names do not show up.


Thoughts?

package >
Package: {Pkg.Name}
{Pkg.Notes}

{Template - MyFirstTemplateFragment}

diagram >
Diagram Name: {Diagram.Name}

{Diagram.DiagramImg}
< diagram
element >

Element: {Element.Name}
constraint >
Constraint: {ElemConstraint.Name}
< constraint

custom property >

< custom property

embedded elements >

Constraint Params   Parameter   Type
{EmbeddedElement.Name}   {EmbeddedElement.Default}   {EmbeddedElement.Classifier}

< embedded elements
child elements >
< child elements

< element

child packages >
< child packages

< package

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document Generation - Fragment - Custom Query yields blank
« Reply #1 on: March 09, 2017, 03:48:22 pm »
How does your template fragment look like?
Maybe you forgot to add the custom field.

Geert