Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Fabio Riera on July 24, 2013, 06:03:01 am

Title: ConfigGuid parameter of Package.VersionControlAdd
Post by: Fabio Riera 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
Title: Re: ConfigGuid parameter of Package.VersionControl
Post by: qwerty on July 24, 2013, 07:31:26 am
You define them manually. EA stores them in %APPDATA%/Sparx.../paths.txt

q.
Title: Re: ConfigGuid parameter of Package.VersionControl
Post by: Fabio Riera 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!
Title: Re: ConfigGuid parameter of Package.VersionControl
Post by: qwerty 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.