Book a Demo

Author Topic: EA reporting - custom package structure  (Read 4731 times)

Joonas Koskela

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
EA reporting - custom package structure
« on: October 03, 2008, 06:56:57 pm »
Hello,

I'm trying to figure out whether it's possible to generate reports (rtf) where the package structure is different from what the project browser tells me.

Basically what I'm looking for is a functionality where the project package strucutre can be re-defined for reporting purposes.

Any suggestins ?
Thanks.

BR,
  Joonas

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: EA reporting - custom package structure
« Reply #1 on: October 03, 2008, 08:47:56 pm »
Take a look at virtual documents.  It is documented well in the online help and the rtf whitepaper from Sparx.

Basically it allows you to create a master document containing several model documents including packages or search results each in arbitrary order.

Might not be exactly what you want but I believe comes close.

Oliver
« Last Edit: October 03, 2008, 08:48:16 pm by ofels »

Joonas Koskela

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: EA reporting - custom package structure
« Reply #2 on: November 04, 2008, 10:12:14 pm »
Thanks Oliver !

Basically virtual documents offer just the functionality that I was looking for  :)

I'm still trying to figure out how to bind reporting templates with desired models so that I could trigger reporting from the master document and all of the child packages (Requirements, Use cases, etc.) would 'know', which reporting template to use.

Any ideas on this ?

 BR,

 Joonas

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: EA reporting - custom package structure
« Reply #3 on: November 04, 2008, 10:34:00 pm »
Quote
I'm still trying to figure out how to bind reporting templates with desired models so that I could trigger reporting from the master document and all of the child packages (Requirements, Use cases, etc.) would 'know', which reporting template to use.

Each ModelDocument in a virtual document package can have its own template- look for the tagged values.

So if you create ModelDocuments and put in the corresponding packages (Requirements, UseCases, etc.) then you assign the corresponding templates for each and there you go.

Oliver

Joonas Koskela

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: EA reporting - custom package structure
« Reply #4 on: November 17, 2008, 11:31:57 pm »
I'll try to re-prahse. I have a model where I have one master document, which include a number of virtual documents. I've generated templates for each of these.

PROBLEM: I want to trigger document generation from the master doucment level so that each virtual document is recursivly called. Output would be one rtf documentation.

How do I do this ?

 BR,

 Joonas

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: EA reporting - custom package structure
« Reply #5 on: November 18, 2008, 09:46:05 pm »
Quote
PROBLEM: I want to trigger document generation from the master doucment level so that each virtual document is recursivly called. Output would be one rtf documentation.

Select the master document package and press F8 to open the documentation dialog.
If everything is ok then the template selection field should be grayed out. After generating the document you will have one RTF.

Oliver

Joonas Koskela

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: EA reporting - custom package structure
« Reply #6 on: December 09, 2008, 11:00:28 pm »
Hmm...Triggering document generation from the master document level does bring up the dialog, where the template selection field is greyed out. BUT when I continiue, I only get a report describing the empty master document ;(

Any suggestions how to fix this ? (I'm still trying to get one report covering all virtual documents under one master doc.)

Thanks,

 Joonas Koskela

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: EA reporting - custom package structure
« Reply #7 on: December 10, 2008, 01:07:01 am »
Quote
Hmm...Triggering document generation from the master document level does bring up the dialog, where the template selection field is greyed out. BUT when I continiue, I only get a report describing the empty master document ;(

Any suggestions how to fix this ? (I'm still trying to get one report covering all virtual documents under one master doc.)

Do you have packages added to your document?
Is the "Skip root element" option disabled?

What is your structure below the master document?

Oliver