Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: nmazor on April 24, 2018, 02:13:04 pm

Title: HTML Report Not Working In Google Chrome
Post by: nmazor 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?
Title: Re: HTML Report Not Working In Google Chrome
Post by: Takeshi K 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,
Title: Re: HTML Report Not Working In Google Chrome
Post by: Sunshine 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
Title: Re: HTML Report Not Working In Google Chrome
Post by: Uffe 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
Title: Re: HTML Report Not Working In Google Chrome
Post by: Nizam 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/)