Book a Demo

Author Topic: Generating Specific Fields to a Document from a Diagram  (Read 3489 times)

djdejong

  • EA User
  • **
  • Posts: 32
  • Karma: +2/-0
    • View Profile
Generating Specific Fields to a Document from a Diagram
« on: October 15, 2016, 05:32:58 am »
I'm new to Enterprise Architect. I'm not sure if this has been asked, so I'll continue to look through the threads -- but here is the issue I'm struggling with:

I am trying to grab very specific values from elements in my diagrams to put in my report.

Here is a specific example to illustrate the sort of thing I’m trying to do:

Here is a simplistic activity diagram, for the purposes of the example:

(start) ----> [Activity1]----> <Decision1> ----> [Activity2] ----> (end)

I want to be able to code in my document

1.   {Field that specifies name of only the first activity}
2.   {Field that specifies name of only the first decision}
3.   {Field that specifies name of only the second activity}

So that the result in the generated document is

1.   Activity1
2.   Decision1
3.   Activity2


I have tried a lot and I am very confused about how to obtain this level of specificity in report generation from my model. Is this possible to do? So far I’ve played with the “Sections” part of the templates, template fragments, and even some SQL code and custom queries, but haven’t figured out how to do this. Please let me know if any more info is required to answer my question, or if there's a thread somewhere already addressing this!

Thanks!



djdejong

  • EA User
  • **
  • Posts: 32
  • Karma: +2/-0
    • View Profile
Re: Generating Specific Fields to a Document from a Diagram
« Reply #1 on: October 15, 2016, 05:54:42 am »
I should add:


My goal is to create a system where Enterprise Architect (EA) can -- as much as possible --  generate a word document for uses cases (BUCs, SUCs) from the model created in EA.

The utility is that, once the model is created, much work in creating the corresponding report document can be eliminated by allowing EA to do the job.

I'm open to considering whatever solutions others may have. My initial post assumes a certain approach.

UPDATES
-BTW: currently using Enterprise Architect 12.0
-currently working through a tutorial given here: http://bellekens.com/  So far it looks promising.
« Last Edit: October 15, 2016, 07:33:22 am by djdejong »