Book a Demo

Author Topic: WebEA: Embed read-only diagram  (Read 5886 times)

czamora

  • EA Novice
  • *
  • Posts: 6
  • Karma: +2/-0
    • View Profile
WebEA: Embed read-only diagram
« on: July 26, 2018, 07:58:44 am »
I'm trying to embed an EA diagram into confluence using the IFRAME macro using Pro Cloud server and WebEA. All I want is for a specific diagram to show to any anonymous user who can access the confluence page. I don't wan them to be able to edit, drill down, open element properties or navigate away from the diagram--just view it as if I copied an image of the diagram onto the page.

I'm able to show a diagram in an IFRAME just fine by using the "Get URL" link on the diagram in WebEA and then using that as the URL in the IFRAME. The problems I have are the following:

1) Users can navigate away from the diagram to other parts of the model in the IFRAME. I don't want that.

2) If I embed a second diagram on a different confluence page and come back to my original page, the second diagram shows instead of the first. This is because the cookie for the user is saving the last diagram the user saw and WebEA shows that diagram regardless of what DiagramID is being passed to it.

Anyone have similar problems or been able to find a workaround?

Cris


Madhav

  • EA User
  • **
  • Posts: 21
  • Karma: +1/-1
    • View Profile
    • Prolaborate
Re: WebEA: Embed read-only diagram
« Reply #1 on: July 27, 2018, 05:15:16 pm »
"1) Users can navigate away from the diagram to other parts of the model in the IFRAME. I don't want that."
This is not possible as we don't get the link to that diagram. The link we get is that of the page and so, we see the complete page in Confluence
You can raise this point in "Suggestions and Requests" forum.

"2) If I embed a second diagram on a different confluence page and come back to my original page, the second diagram shows instead of the first. This is because the cookie for the user is saving the last diagram the user saw and WebEA shows that diagram regardless of what DiagramID is being passed to it. "
This works fine for me. I switch between two pages in Confluence and I see the diagrams which I have embedded. Maybe, do a hard refresh and try once.

Happy to help!

SPARX PROLABORATE - SHARING & COLLABORATION SOFTWARE FOR ENTERPRISE ARCHITECT

peterc

  • Guest
Re: WebEA: Embed read-only diagram
« Reply #2 on: July 31, 2018, 06:09:21 pm »
Not used WebEA - are you relying on the link to show the current state of the diagram with updates as you make them? An alternative might be to export the diagram as an image and import that into Confluence. I appreciate that might not achieve what you are trying to do as it's then not reflecting the current state of the model.