Author Topic: HTML Report Not Working In Google Chrome  (Read 7877 times)

nmazor

  • EA Novice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
HTML Report Not Working In Google Chrome
« on: April 24, 2018, 02:13:04 pm »
When I generate HTML reports they only display in Firefox. However, in Google Chrome and IE I get an error trying to load the model. I know this was a problem in earlier versions, is it still an issue?

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: HTML Report Not Working In Google Chrome
« Reply #1 on: April 25, 2018, 07:44:07 am »
Hi,

This is not an issue of Enterprise Architect, but default bahaviour of Chrome.

To avoid this issue, see the 'Browser behavior' in the following help page:
https://www.sparxsystems.com/enterprise_architect_user_guide/13.5/model_publishing/htmlreport.html

HTH,
--
t-kouno

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1324
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: HTML Report Not Working In Google Chrome
« Reply #2 on: April 25, 2018, 09:04:16 am »
Its a new security feature in modern browsers to stop running javascript from local file system. In chrome you can override with a command line flag --allow-file-access-from-files. For example run chrome from command line like so you can execute the javascript.
I usually create a short cut with the following in the command line.
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --allow-file-access-from-files
Happy to help
:)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: HTML Report Not Working In Google Chrome
« Reply #3 on: April 26, 2018, 06:31:14 pm »
Hello,


If you're generating HTML it's probably because you want to make models available to people who don't use EA. This implies that you're in a reasonable-size organization.

If that is the case, it's worth considering setting up a web server to serve the EA-generated HTML. You probably already have a web server on your intranet, in which case you just need to add a publication area where you can write the generated HTML and the server can read it.

Not only will this obviate the need for people to circumvent a security feature of their web browser, it will also provide better performance: a web server is far more adept at dealing efficiently with HTML than a file server is. If you're generating large chunks of HTML, and if you're making them available on a WAN, this performance boost will be significant.


/Uffe
My theories are always correct, just apply them to the right reality.

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: HTML Report Not Working In Google Chrome
« Reply #4 on: April 27, 2018, 06:45:57 pm »
Or may even consider using live publishing utilities..

WebEA http://sparxsystems.com.au/products/procloudserver/#webeabook or
Prolaborate (https://prolaborate.com/)