Author Topic: Report fileds values when using DocumentGenerator  (Read 2743 times)

mcoletti

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Report fileds values when using DocumentGenerator
« on: August 08, 2014, 01:37:39 am »
When using the Automation Interface (in VB), I insert a CoverPage in the generated document, the report fields (available in the cover page templates) are not filled.
This means that the cover page should be fixed, and a bit of the great flexibility offered by this interface is lost.

It would be great to have those fields filled, with the same criteria used by the standard document generator (Name, status, etc. of the current selected element in the package browser).

Regards,
Massimo

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8063
  • Karma: +118/-20
    • View Profile
Re: Report fileds values when using DocumentGenera
« Reply #1 on: August 08, 2014, 08:45:28 am »
I'm not sure you can say that the currently selected object in the project browser has any significance on an API generated document.

However, it occurs to me that you can probably achieve the same effect just by running a normal template to generate a cover page.