Book a Demo

Author Topic: How to set default diagram in HTML Report by code  (Read 3048 times)

Kezia

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to set default diagram in HTML Report by code
« on: September 18, 2007, 10:17:20 pm »
Hi,

I want to set default diagram in HTML Report by code using diagram GUID. I use RunHTMLReport, but there is no such as paramater to set it.

On the generate HTML Report dialog (on EA 7.0), we can set default diagram by choosing one of diagram that we have in the model. Could I set it in code?

Thanks.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to set default diagram in HTML Report by c
« Reply #1 on: September 19, 2007, 02:54:27 am »
Interesting!

It seems that you can set everything but the diagram. Try opening and activating a diagram before you run the report. See if doing this with a different diagram (within the same package probably) has any effect. The EA session might need to be visible for this to work, so keep track of that as well.

Once you have these results - unless it works perfectly without having to set EA to visible - I suggest you request this as a feature. Use the Feature Request link below the Support link at the bottom of any forum page.

If you make a request please include the title of this thread and paste in the URL. Also, please let us know you've made the request, and post any reply you get from Sparx.

David
No, you can't have it!

Kezia

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to set default diagram in HTML Report by c
« Reply #2 on: October 04, 2007, 10:01:27 pm »
Hi,

I have posted the request of this changes to Sparx on Sept 21st, but so far, there is no respond :(