Products

Home Forums eaDocX queries eaDocX closes unsaved diagrams

Home Forums eaDocX queries eaDocX closes unsaved diagrams

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8778
    Mike Lucas
    Participant

    Hi

    I’ve just discovered that eaDocX closes unsaved diagrams when including them in a document. I found out the hard way when I discovered my document had my latest changes but the model didn’t. Can’t imagine that this is intended behaviour. If I hadn’t generated the document EA would have prompted me to save the diagram when I closed it if I had forgotten to do so.

    To reproduce the problem:

    1. Open a diagram and add it to a document in eaDocX
    2. Make a change to the diagram but don’t save the changes
    3. Generate the document in eaDocX
    4. eaDocX closes the diagram while generating the document.
    5. The generated document includes the changes to the diagram that are no longer in the model

    Mike

    #8779
    eadocX Support
    Participant

    It’s not the *intended* behavior, but it’s all that Sparx allows.
    The only way eaDocX can get a diagram is to open it in EA, then get a copy of it into the clipboard.There’s no API which tells us what diagrams are already opened, so we open a new one each time. The polite thing is then to close it, as otherwise you’d have 10s of diagrams.
    Sorry- nothing we can do…

    #8780
    Mike Lucas
    Participant

    Thanks for the quick reply. Looks like Sparx ought to be providing more information to extensions. I’m guessing that this isn’t the only issue caused by the API. 🙁

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download