Book a Demo

Author Topic: Displaying diagrams using Diagram Fragments  (Read 4840 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Displaying diagrams using Diagram Fragments
« on: December 07, 2016, 12:52:17 am »
Does anyone know how diagram fragments can be used to display diagrams in a a virtual document?

I can create an SQL query to find the package that contains the diagram easily enough... but I then need to display the diagram image for the diagram that is located inside the package.

Do I need to return a specific field from a table in the database? If so, which database table actually stores the image?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Displaying diagrams using Diagram Fragments
« Reply #1 on: December 07, 2016, 01:05:31 am »
You can't print diagrams in an SQL fragment.
You have to use regular fragments, or document scripts fragments to print diagrams.

Geert

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Displaying diagrams using Diagram Fragments
« Reply #2 on: December 07, 2016, 03:14:25 am »
Shame - thanks!