Skip to main content
Version: 8.1

Transfer packages

Level: beginner

Transfer packages using the Configuration section

1. Export a package

  1. Open the Configuration section. Instructions: Open the Configuration section.

  2. Select a user-made package to export.

  3. Export the package. To do this, click Export.

As a result, depending on the browser settings, the browser will either save the *.zip archive that contains the *.gz package archive to the default downloads directory or ask you to select a directory to save the archive.

You will be able to import the downloaded package into another development environment afterwards.

2. Import a package

Instructions: Install an app from a file (user documentation).

Transfer packages using SVN

note

If the file system development mode is enabled, Creatio disables the SVN integration and forbids transferring packages using SVN.

1. Preliminary setup

  1. Make sure the SVN repository is connected to Creatio. Otherwise, connect the SVN repository.

    1. Open the Configuration section. Instructions: Open the Configuration section.

    2. Open the SVN repository list page. To do this, click ActionsSVN repositoriesOpen list of repositories.

    3. Add an SVN repository. To do this, click Add. This opens the SVN storage window.

    4. Fill out the properties of the SVN repository.

      Property

      Description

      Name*

      The repository name.

      SVN storage address*

      The SVN repository URL.

      Login

      The login of the SVN repository user.

      Password

      The password of the SVN repository user.

    5. Login to SVN repository. To do this, click Authenticate.

    As a result, the SVN repository will be connected to Creatio. Learn more about how to manage SVN using the out-of-the-box Creatio tools: Version control using the Configuration section.

  2. Ensure Creatio applies changes automatically.

    1. Open the ..\Terrasoft.WebApp\Web.config file.

    2. Set the following <appSettings> element keys to true.

      Key

      Description

      AutoUpdateOnCommit

      Enables the package update from the SVN repository on package commitment. If you set the key to false and modify the package schemas, then try to commit the package to the repository, Creatio will warn you that an update is required.

      AutoUpdateDBStructure

      Enables the database structure update.

      AutoInstallSqlScript

      Enables the SQL script installation.

      AutoInstallPackageData

      Enables the installation of bound data.

      ..\Terrasoft.WebApp\Web.config
      <appSettings>
      ...
      <add key="AutoUpdateOnCommit" value="true" />
      <add key="AutoUpdateDBStructure" value="true" />
      <add key="AutoInstallSqlScript" value="true" />
      <add key="AutoInstallPackageData" value="true" />
      </appSettings>
  3. Check the data binding.

    Before you transfer the package, make sure you bound data to the package to transfer. Learn more: Bind data to the package.

  4. Check if you can transfer the package dependencies.

    You can add the dependencies on other packages to a user-made package. If the package depends on third-party packages, make sure you have already installed them into the Creatio instance to which to transfer the user-made package. If you store the package dependencies in an available SVN repository, Creatio installs them automatically. Learn more about the package dependencies: Package dependencies and hierarchy.

2. Commit a package to the SVN repository

Instructions: Commit a package to the SVN repository.

3. Install a package from the SVN repository

Instructions: Install a package from the SVN repository.

If you need to upload changes made to an existing package, follow the instructions: Update a package from the SVN repository.


See also

Creatio IDE overview

Manage apps (user documentation)

Version control using the Configuration section

Bind data to the package

Packages overview