Book a Demo

Author Topic: Show diagram from published HTML export in Confluence  (Read 4608 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Show diagram from published HTML export in Confluence
« on: February 21, 2019, 06:53:52 pm »
A client of mine uses confluence to organize their documentation and they would like to show diagram in confluence.
Our idea was to create and publish an HTML export and then link to that export.
With the GUID parameter I have stable url's to a specific diagram, but we failed get the diagram to show up in Confluence.

We tried a bunch of HTML macro add-ins, but non of them actually showed the diagram. The "furthest" we got was a "Loading..." page being shown (exactly like when you open the html export locally with Chrome, when it refuses to execute the javascript)

Has anyone been successful in showing diagrams from the html export in confluence?

Our current workaround is to copy/paste the image of the diagram in the confluence page, and make it link to the diagram in the HTML export.
Major downside of this approach is that the pasted image of the diagram can go out of date, so manual intervention is needed.

We are not interested in a confluence integration add-in or in the cloud server integration.

Thanks

Geert

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: Show diagram from published HTML export in Confluence
« Reply #1 on: February 22, 2019, 06:28:05 am »
Well, as you already know, the HTML export only works fine in IE and Firefox. The javascript algorithm has not been updated years ago.

Some of our clients had similar requirements, to we had to implement a pair of apps in order to supply the needs. So, we have:
  • A windows service (pretended to be installed in the server side), that get all the diagrams of a model every certain time (parametrizable), and stores an up to date copy of every diagram image as a windows file in a windows folder.
  • A web application (deployable in IIS) that provides links like: http://myapp/getDiagram/{THE-GUID-OF-THE-DIAGRAM} for diagrams, tag values, traceability and connectors for elements, packages and diagrams

If some of this could help to solve your client needs, just email us to [email protected]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Show diagram from published HTML export in Confluence
« Reply #2 on: February 22, 2019, 02:59:39 pm »
Well, as you already know, the HTML export only works fine in IE and Firefox. The javascript algorithm has not been updated years ago.

We use the HTML export in Chrome without issues ???

Thanks for your input, but I'd really like to be able to use the standard HTML export. I just need an entry point to it in Confluence

Geert