Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ashwinib on July 23, 2008, 07:09:05 pm

Title: Checkout Update element and CheckIn in C#
Post by: ashwinib on July 23, 2008, 07:09:05 pm
hi,

I am trying to update taggedValues of the element in my addin.
if element is under version control, I checkout the corresponding package , update the taggedValue and then checkin the package.

pkgToCheckout.VersionControlCheckout("CheckOut By Addin ");

//Update code which works fine if file is already checked out

pkgToCheckout.VersionControlCheckin("CheckedIn By Addin on ");

Problems
1. But element is not getting updated.
2. each time it displays the checkin confirmation dialog box. how do i suppress it

Please reply.

Thanks & Regards,
Ashwini
Title: Re: Checkout Update element and CheckIn in C#
Post by: Eve on July 25, 2008, 08:31:03 am
Just to clarify, is the check-in dialog from your version control (SCC)provider or EA itself?

If it's from an SCC version control provider then it's either a case of configuration, or you just can't do it.

If it's EA's dialog, then I don't think it should be coming up, and this should be sent directly to sparx systems.