Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: syortsos 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
-
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
-
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
-
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,
-
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.
-
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.
-
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
-
Forget my previous post. I just testet my theory and it does not work.
Henrik
-
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
-
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.
-
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
-
Will the EA16 HTML export work on Sharepoint?
-
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
-
Could you please elaborate on what you mean by 'Works on Sharepoint'?
Henrik
-
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
-
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
Thanks. I had no idea :)
Henrik