Author Topic: WebEA link to diagram images.  (Read 24663 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2080
  • Karma: +46/-82
    • View Profile
WebEA link to diagram images.
« on: June 18, 2021, 11:26:21 am »
With PCS we now can use links to entities such as diagrams, projects, entities, etc, viz
Code: [Select]
https://example.com/WebEA?m=99&o=DB9A81E9-00C0-411d-8B89-B9A57F1FA4D7 to open WebEA in a browser.


Now, is to possible, or would it be a good idea, to have a URL that allows the diagram images to be accessed, and therefore embedded in a website?
e.g.
Code: [Select]
https://example.com/WebEA?m=99&o=DB9A81E9-00C0-411d-8B89-B9A57F1FA4D7&img=png
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Samuli

  • EA Novice
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
Re: WebEA link to diagram images.
« Reply #1 on: April 08, 2022, 03:43:05 pm »
We were also hoping for this capability, and I'm a little disappointed that it's not possible through WebEA. It would be useful to embed up-to-date images from the repository on Confluence pages, or in Jira tasks' descriptions, for example. I hope it will be made possible in the future to link directly to the generated images in the repository, as it is already possible to link directly to the other elements.

Elpis

  • EA User
  • **
  • Posts: 36
  • Karma: +6/-0
  • Make MDA/MBSE vital.
    • View Profile
Re: WebEA link to diagram images.
« Reply #2 on: October 03, 2024, 07:19:24 pm »
[...] I hope it will be made possible in the future to link directly to the generated images in the repository, as it is already possible to link directly to the other elements.

Is it "already possible to link directly to the other elements"? How do you achieve that?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13227
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: WebEA link to diagram images.
« Reply #3 on: October 03, 2024, 07:25:36 pm »
Replace the guid of the url https://example.com/WebEA?m=99&o=DB9A81E9-00C0-411d-8B89-B9A57F1FA4D7 with the guid of the object (without the curly "{}")

Geert

Elpis

  • EA User
  • **
  • Posts: 36
  • Karma: +6/-0
  • Make MDA/MBSE vital.
    • View Profile
Re: WebEA link to diagram images.
« Reply #4 on: October 03, 2024, 09:11:18 pm »
Replace the guid of the url https://example.com/WebEA?m=99&o=DB9A81E9-00C0-411d-8B89-B9A57F1FA4D7 with the guid of the object (without the curly "{}")
Such a link can be easily copied from EA (target element/diagram's "WebEA" property) - no need to replacing text in an other URL.

But it is still a WebEA link, launching full WebEA. It is not a link you can use to embed a (up-to-date or cached) diagram on external pages (e.g. Jira, Confluence), which is what I understand as "direct" link mentioned by Samuli and feature requested by skiwi.
« Last Edit: October 03, 2024, 09:17:02 pm by Elpis »