Author Topic: HTML Reports  (Read 9022 times)

phravi

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
HTML Reports
« on: November 10, 2017, 11:18:35 am »
Hi All,
I am new to EA and currently evaluating it for process and use case models. I have been trying to generate HTML reports and have directed the output to a directly. As I 'View' the HTML report, it just shows 'Loading...' on the webpage with the EA and the logo on the top right corner of the page.
Can anyone suggest what is it that I am missing?
Thanks!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 11852
  • Karma: +460/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML Reports
« Reply #1 on: November 10, 2017, 03:15:07 pm »
Try it with different webbrowsers.

Geert

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 316
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: HTML Reports
« Reply #2 on: November 12, 2017, 01:29:40 pm »
You have to enable Java Script in Browsers, Try Internet Explorer (for this one purpose :) ) and choose 'Allow blocked Content' and it must start showing up.

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Re: HTML Reports
« Reply #3 on: November 20, 2017, 11:22:23 pm »
I've had problems loading the exported html locally (= files on my local disk), once i upload the files to a webserver it usually works. I think it has to do with java not loading in that scenario, see comments from other users above.

BellaHamilton

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • EssayLab
Re: HTML Reports
« Reply #4 on: December 27, 2017, 10:11:43 pm »
If you "view source", from the browser window, you can hilite then right-click and copy the URL of the script. Return to the browser, open a new tab, and right-click->paste the URL into the address bar, press enter. Is the script loading in the browser window? If not, check the capitalization and spelling.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7736
  • Karma: +103/-18
    • View Profile
Re: HTML Reports
« Reply #5 on: January 02, 2018, 08:55:01 am »
Different browsers have security features that prevent the javascript from running correctly locally.

It's been a while since I updated this table, but I'll copy it here.

Quote
ChromeWill not allow file based access without the command line argument --allow-file-access-from-files. The file appears to be returned as null, hence the error received.EA Reports fail with null pointer exception
FirefoxI believe it just allows it for files within the same directory or a sub-directoryEA Reports work without warning
Internet ExplorerPrompts with for permission to access an ActiveX objectEA Reports work after allowing access
Opera < (unknown version between 21 & 27)Access is disabled by default but an option is available to allow it.EA Reports provide a link to the option that needs to be changed
Opera >= (unknown version between 21 & 27)Access is disabled by default no investigation yet about how to make it load except running a web server.Report doesn't load
EdgeAccess is disabled by default no investigation yet about how to make it load except running a web server.Report doesn't load
Anything elseProbably different for each browserLet me know
Eve

support@sparxsystems.com

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: HTML Reports
« Reply #6 on: May 20, 2022, 02:35:10 am »
Eve is there any update on this? Internet Explorer is becoming a relic and I don't know anyone who uses Opera. I could not get Firefox to work either. Thanks.

Bill

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 11852
  • Karma: +460/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML Reports
« Reply #7 on: May 20, 2022, 02:59:37 am »
Bill, you can use Chrome with the parameter, or else publish the html report on a webserver.

Apparently the HTML report from EA v16 doesn't have this issue anymore.

Geert

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: HTML Reports
« Reply #8 on: May 20, 2022, 04:55:55 am »
Thanks Geert! Good to know.

wivel

  • EA User
  • **
  • Posts: 144
  • Karma: +11/-1
  • Driven by Models
    • View Profile
Re: HTML Reports
« Reply #9 on: May 21, 2022, 06:25:32 am »
Hi all

This topic has ben covered in numerous post already. There are several options:
  • Deploy the HTML to a webserver. This will work with any browser
  • Upgrade to EA 16. The HTML generator and templates has been rewritten so the generated HTML will work in modern browsers. It has issues, though, with not showing the selected default diagram
  • Start Google Chrome from a command line with the parameter --allow-file-access-from-files. Will not always work. I have worked in organisations where it didn't work due to security policies and the way Chrome was installed.
  • Use Microsoft Edge. Microsoft have added an option to Edge that allows it to open a site in IE compatibility mode. It can be activated by setting 'Settings -> Default browser -> Allow sites to be reloaded in Internet Explorer mode' to 'Allow'

In most organisations IE has been replaced by Edge, so I will assume option 4 is the way to go for you.

Henrik
« Last Edit: May 21, 2022, 11:04:56 pm by wivel »