Connect an already Created package to repository SVN
I am having some questions regarding SVN connection to a package.
I know that when an new package is created SVN repository can be configured.
But what can I do if I have a package already created, how can I set up the repository for it?
I tried to edit the package but repository field is disabled.
Is there a way to set this up?
Thanks in advance.
Like
You can do this via SQL. If this is a cloud system you can install SQL Executor (if this is a Postgresql system, enclose all column/table names in quotes)
Anyway, first get the package Id using:
select Id from SysPackage where Name = 'MyPackageName'
Then get the repository Id (assuming you already added it, if not add it first):
select Id from SysRepository where Name = 'MyRepositoryName'
Then update the package with the repository Id, note, the package *must* also have a version number (I'm setting it to 1.0.0 below)
update SysPackage set SysRepositoryId = 'the repo id here', Version = '1.0.0' where Id = 'the package id here'
Now, just refresh and you'll see the package is linked to the repository.
Ryan
You can do this via SQL. If this is a cloud system you can install SQL Executor (if this is a Postgresql system, enclose all column/table names in quotes)
Anyway, first get the package Id using:
select Id from SysPackage where Name = 'MyPackageName'
Then get the repository Id (assuming you already added it, if not add it first):
select Id from SysRepository where Name = 'MyRepositoryName'
Then update the package with the repository Id, note, the package *must* also have a version number (I'm setting it to 1.0.0 below)
update SysPackage set SysRepositoryId = 'the repo id here', Version = '1.0.0' where Id = 'the package id here'
Now, just refresh and you'll see the package is linked to the repository.
Ryan
Victoria Armand Ugon,
I do remember someone from Creatio mentioning that they had to pull it for a couple of weeks to make updates for 7.17. If you have it in another system you could download the package from there, otherwise, you can do this with a process. Create a process that has two Read Data elements (except now you'll be reading from "Package" for SysPackage and "Storages list" for SysRepository) and one Modify data element (to update Package) then run it and you can accomplish the same.
Ryan