Book a Demo

Author Topic: Document fragment with Custom Query  (Read 3153 times)

jpb1904

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Document fragment with Custom Query
« on: July 10, 2015, 10:52:40 pm »
Hello all,
I am using Custom Queries for retrieving EA-data from the database which is going well. But now I want to generate a diagram, using the database and store it via my template / custom fields in my documentation.

How can I do this ? Are there blob-like fields in the db? Or is this not the correct approach. I know about software developing in VB, so there might be the solution. ;D

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 fragment with Custom Query
« Reply #1 on: July 10, 2015, 11:11:57 pm »
You can create a diagram with a script and then add that to the template.
I'm doing that for a couple of complicated documents.

You can't get the diagram image from the database directly.

Geert

jpb1904

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Document fragment with Custom Query
« Reply #2 on: July 10, 2015, 11:42:16 pm »
Thank you, I'm at the moment busy finding out how the scripting works and that's going fine; Hello World works as custom field and I managed to create a document.

Is there a reference manual somewhere ? Can you help me on my way for this particular subject?

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 fragment with Custom Query
« Reply #3 on: July 11, 2015, 01:27:22 am »
I presented a webinar about scripting a while ago and there is the book about scripting by Thomas Kilian
Furthermore there's the help file, and lots of examples provided by Sparx.

There also is a learning centre topic about script fragments.

Geert
« Last Edit: July 11, 2015, 01:28:13 am by Geert.Bellekens »