Author Topic: RunHTMLReport  (Read 3695 times)

Chris S

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
RunHTMLReport
« on: October 07, 2011, 04:08:54 am »
When using RunHTMLReport, is there any way to generate HTML for a model?  The first parameter of RunHTMLReport is a GUID and models do not seem to have GUID's.

Any Ideas?

Thanks,
Chris

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: RunHTMLReport
« Reply #1 on: October 08, 2011, 01:05:10 am »
The Models (root nodes) have GUID, but you can't see it with the user interface.

Try:

RunHTMLReport(Repository.Models.GetAt(0).PackageGUID,"C:\Path\","PNG",".htm")

PS: This is valid for the first "root node". If you have more than one, use any method to locate the one you want...
« Last Edit: October 08, 2011, 01:07:05 am by Deiser »

Chris S

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: RunHTMLReport
« Reply #2 on: October 08, 2011, 04:02:14 am »
Ahh, your suggestion work excellent, thanks!  That is odd how the GUID is not displayed in the UI.

Thanks,
Chris

Shaggy Man

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: RunHTMLReport
« Reply #3 on: October 11, 2011, 11:50:29 am »
You can see and get GUID in UI.

See in Properties sub windows | Project | GUID.
Get at Project Browser context menu | Copy Reference | Copy Node GUID to Clipboard.