Book a Demo

Author Topic: Checkout Update element and CheckIn in C#  (Read 2950 times)

ashwinib

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Checkout Update element and CheckIn in C#
« 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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Checkout Update element and CheckIn in C#
« Reply #1 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.