Author Topic: HTML Exports from Enterprise Architect  (Read 8712 times)

syortsos

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
HTML Exports from Enterprise Architect
« on: March 01, 2022, 05:38:18 am »
Hi,

I am only able to view HTML exports of Enterprise Architect models in Internet Explorer. When I try and open the HTML export in Chrome or Edge it never loads. Given that Internet Explorer is "retiring" on June 15, 2022, is there anything that's going to be done to ensure HTML exports work in other Web Browsers?

Thanks,
Stevie

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML Exports from Enterprise Architect
« Reply #1 on: March 01, 2022, 06:22:12 am »
Hi Stevie,

The HTML won't load in a modern browser, because these don't want to load websites from local files. This is a security measure.
The "real" solution is to host your file on a webserver.

A workaround is to pass a special parameter to Chrome to circumvent this security measure.

Geert

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #2 on: March 01, 2022, 10:30:37 pm »
Hi

Just a follow-up to Geerts answer. In larger organisations, it might not be possible to pass parameters to Chrome or it will require administrators privileges. Agan for security reasons. In that case, the best option is to deoply the HTML to a dedicated webserver. Using a webserver will also make it easier to to expose the model to the stakeholders and control access via e.g. AD groups, instead of using a fileshare and/or mailing the generated HTML model to the stakeholders.

Another option is to write your own HTLM Template. I know it can be done, but I have no experience in that area.

Henrik

Takeshi K

  • EA User
  • **
  • Posts: 588
  • Karma: +38/-1
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #3 on: March 02, 2022, 10:53:28 am »
Hi all,

Another workaround is using EA version 16 RC. The default templates have been updated, and now generated HTML documents can be displayed on modern browsers.

HTH,
--
t-kouno

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1319
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #4 on: March 02, 2022, 12:24:28 pm »
You can put the HTML files on a webserver where you won't get blocked for trying to run JavaScript.
If upgrading to V16 RC as suggested earlier is not an option nor running on a web server then you can run google chrome and allow javascript to be run from the file system by running google with a command line override  "--allow-file-access-from-files"
Create a shortcut to chrome and in Target field of the shortcut enter "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files file:...
Where after File: you need to point to the index file of the generated HTML.
Happy to help
:)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #5 on: March 02, 2022, 02:26:27 pm »
Another workaround is using EA version 16 RC. The default templates have been updated, and now generated HTML documents can be displayed on modern browsers.
I'll accept that using a release candidate isn't an option for everyone in that sense it is a workaround.

However, upgrading to version 16.0 is (or will be) the solution. The problem has been solved and if you're impacted by the problem, now is the time when you want to make sure your organization will be able to update to version 16 when it is released.


wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #6 on: March 02, 2022, 09:08:24 pm »
Wil it be possible to use the upgraded EA 16 HTML templates in EA 15.x?

1. Thinking, that you create your own HTML template in EA 16, e.g. 'EA 16 Default' without changing anything
2. Export it from EA 16
3. Import it into EA 15.x
4. Generate HTML from EA 15.x using the 'EA 16 Default' template

Just a thought. Haven't testet it yet.

Henrik

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #7 on: March 02, 2022, 11:07:04 pm »
Forget my previous post. I just testet my theory and it does not work.

Henrik

Jan Prochaska

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #8 on: March 21, 2022, 07:59:21 am »
Hello,
we are developing a document generator for EA called RepoDoc (https://repodoc.archimetes.com)
It allows to generate HTML documents easily (supposing you write a template for your case - could be markup language like markdown or asciidoc).
Kind regards,
Jan

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #9 on: March 23, 2022, 08:56:53 pm »
We used to export the whole repository daily to a web server. Works great.
Last year we installed the Pro Cloud Server, which gives direct web access to the repository. We are very happy with the results and added benefits.

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #10 on: March 23, 2022, 10:26:45 pm »
I just found out, that the Microsoft Edge browser has an IE compatibility mode option. If you activate that, it will be able to open HTML generated from EA 15.x and earlier versions.

It can be found in Settings ->  Default Browser. Set 'Allow sites to be reloaded in Internet Explorer mode' to Allow, and you should be good to go.

Henrik


timoc

  • EA User
  • **
  • Posts: 201
  • Karma: +14/-0
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #11 on: March 31, 2022, 10:05:23 pm »
Will the EA16 HTML export work on Sharepoint?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML Exports from Enterprise Architect
« Reply #12 on: March 31, 2022, 11:10:34 pm »
Will the EA16 HTML export work on Sharepoint?
It works on sharepoint now as well. You do need to set the extension to .aspx

Geert

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: HTML Exports from Enterprise Architect
« Reply #13 on: March 31, 2022, 11:22:39 pm »
Could you please elaborate on what you mean by 'Works on Sharepoint'?

Henrik

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: HTML Exports from Enterprise Architect
« Reply #14 on: March 31, 2022, 11:39:37 pm »
Could you please elaborate on what you mean by 'Works on Sharepoint'?

Henrik
You can host an EA HTML model on sharepoint by uploading the exported HTML model to a sharepoint folder.
For bulk upload you will need to tweak the html template in order to insert the same comments that sharepoint adds to the file if you upload it manually.

Geert