Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: OpenIT Solutions on October 16, 2020, 01:15:22 am

Title: API to force a refresh of diagram image (used in WebEA) after diagram change?
Post by: OpenIT Solutions on October 16, 2020, 01:15:22 am
Hi,

Is there an API to force a refresh of the diagram image used by WebEA ? If i make a change to a diagram via API, the diagram image is not refreshed. How can i force a refresh ?

Regards,

Jon.
Title: Re: API to force a refresh of diagram image (used in WebEA) after diagram change?
Post by: OpenIT Solutions on October 28, 2020, 11:08:43 pm
Anyone any ideas on this one ? Does an API exist to force diagram image regeneration ?
Title: Re: API to force a refresh of diagram image (used in WebEA) after diagram change?
Post by: Geert Bellekens on October 28, 2020, 11:19:49 pm
There is an option in EA to automatically update the diagram and image maps used by WebEA
Configure | Model | Options | Cloud | Auto Create Diagram Image and Image Map (each time a diagram is saved)

Geert
Title: Re: API to force a refresh of diagram image (used in WebEA) after diagram change?
Post by: OpenIT Solutions on October 30, 2020, 05:57:11 am
Yes, i've set that. Problem is that if you update a diagram via API/code, then use diagram.update the image is not refreshed. So i was hoping there was an API/code option. I'll raise a support ticket and see what is recommended.

Thanks,

Jon.