Importing and Exporting Packages

In FintechOS Platform, users with elevated privileges (admin users) can export metadata from an environment and import it into another environment, using digital solution packages (recommended).

In FintechOS Platform, you have the following options for importing and exporting packages:

  • In FintechOS Studio, from the Development menu > Digital Solution Packages. For more information, see the FintechOS Studio, section Digital Solution Packages.
  • From the command line by using the FtosSysPackageDeployer tool.

The FtosSysPackageDeployer tool is available in the release subdirectory, \Tools\FtosSysPackageDeployer. It allows you to do the following from the command prompt:

  • list the customization sets found in a FTOS server.
  • import / export in / from server a customization set from / in a local file.
NOTE  In order to use the tool, make sure to run the command prompt as admin.

For information on how to use the FtosSysPackageDeployer tool , see the built-in help by running the command prompt as admin and executing FtosSysPackageDeployer.exe without arguments. The tool is using the POST CUSTOMIZATION SET method of the FintechOS Platform API.

Use the FtosSysPackage Deployer for Digital Solution Packages

You can use the FtosSysPackage Deployer to import Digital Solution Packages that contain SQL objects, execute scripts before or after import, or map custom and custom-on-demand files to a portal profile:

  1. Create a .config file with the following JSON :

    Copy
    {
      "digital-asset-custom-files-portal-mapping": [
        {
          "digital-asset-name": "DA",
          "portals": ["PP1", "PP2"],
          "map-to-all-portals-without-profile": true
        }
      ],
      "digital-solution-package": {
        "sql-scripts": {
          "before-import-folder": "FolderName",
          "after-import-folder": "AnotherFolderName"
        },
        "idp-themes": {
          "import-themes": true,
          "abort-import-on-exception": true
        }
      }
    }

     

  2. Follow the guidelines below before adding the .config file:

    • the .config file must have the same name as the deploy package

    • the .config file must be in the same folder as the Digital Solution Package, but not inside the .zip file. This also applies to the SQL scripts folder.

  3. Use FtosSysPackageDeployer to install the digital solution package as follows:
    • Locate the FtosSysPackageDeployer in the unzipped FintechOS installation kit at the following location: <unzipped_install_archive>\Tools\FtosSysPkgDeployer.
    • Create a new .bat file and edit and replace the parameters below with your own values.
    • Add the config file with the custom file mapping.
    • Right-click the .bat file and run it as administrator.
NOTE  
If you have previously installed the System Digital Solution Packages Installation, use the async install_SysPack.bat file for editing and replacing the parameters.

Execute maintenance scripts

You can automatically execute maintenance scripts after package import by using the switch execute-after-import-maintenance-script with the aim alias. The switch takes true or false values.

When true or not specified, after importing a Digital Solution Package, the FtosSysPkgDeployer.exe executes maintenance scripts. When false, maintenance scripts are not executed. The switch's default value is true.

Examples:

Copy
FtosSysPkgDeployer.exe -i -s <value> -u <value> -p <value> --execute-after-import-maintenance-script false
FtosSysPkgDeployer.exe -i -s <value> -u <value> -p <value> --aim false