Author Topic: ConfigGuid parameter of Package.VersionControlAdd  (Read 3501 times)

Fabio Riera

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
ConfigGuid parameter of Package.VersionControlAdd
« on: July 24, 2013, 06:03:01 am »
Hi there,

The method Package.VersionControlAdd() requires a ConfigGuid parameter. Where I find a list of guids available?

Regards

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: ConfigGuid parameter of Package.VersionControl
« Reply #1 on: July 24, 2013, 07:31:26 am »
You define them manually. EA stores them in %APPDATA%/Sparx.../paths.txt

q.

Fabio Riera

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: ConfigGuid parameter of Package.VersionControl
« Reply #2 on: July 24, 2013, 10:57:16 pm »
The parameter is named configGuid, but in reality it requires the UniqueID of the Project/Version Control Settings. The value is not a guid value, but a common string.

Thanks!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: ConfigGuid parameter of Package.VersionControl
« Reply #3 on: July 24, 2013, 11:02:44 pm »
Such inconsistencies are not unusual for EA. It should better be named ConfigID instead. But we're used to it...

q.