Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tehila1 on June 17, 2014, 06:26:54 pm

Title: Work Offline / Online
Post by: Tehila1 on June 17, 2014, 06:26:54 pm
Hello,

I would like to change the version control "work offline" status to work online programmatically.

How can I do it via the API?
Thanks.
Title: Re: Work Offline / Online
Post by: qwerty on June 17, 2014, 07:09:48 pm
I can't remember such functionality. I suppose it will be stored somewhere in the registry.

q.
Title: Re: Work Offline / Online
Post by: Tehila1 on June 17, 2014, 07:44:03 pm
Quote
I can't remember such functionality. I suppose it will be stored somewhere in the registry.

q.

Thank you. Where in the registry? In EA400 -> EA -> Options entry?
Title: Re: Work Offline / Online
Post by: qwerty on June 17, 2014, 11:22:26 pm
I said "suppose". You have to find that yourself :D but likely in that area.

q.
Title: Re: Work Offline / Online
Post by: Tehila1 on June 17, 2014, 11:51:58 pm
Quote
I said "suppose". You have to find that yourself :D but likely in that area.

q.

Where, in the world, can I find some registry documentation for EA?


Title: Re: Work Offline / Online
Post by: Aaron B on June 18, 2014, 11:06:57 am
I don't think the "Work Offline" option you refer to is persisted anywhere.  Pretty sure it is only set during runtime, and is then forgotten when you close EA.  No way to toggle this option programatically that I am aware of.
Title: Re: Work Offline / Online
Post by: Tehila1 on June 18, 2014, 06:00:06 pm
Quote
I don't think the "Work Offline" option you refer to is persisted anywhere.  Pretty sure it is only set during runtime, and is then forgotten when you close EA.  No way to toggle this option programatically that I am aware of.

Can I control it while runtime?
Title: Re: Work Offline / Online
Post by: qwerty on June 18, 2014, 07:14:06 pm
If that what Aaron said is true then you can't except you make some really weird hack.

You might send a feature request. But don't hold your breath.

q.