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 three options for importing and exporting packages, as follows:

  • 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 import or to map custom and custom-on-demand files to a portal profile:

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

    Copy
    {
      "digital-solution-package":
      {  
          "sql-scripts":
          {
            "before-import-folder": "FolderName"//The name of the folder from the directory where the scripts are located.
          }
      }
    {
      "digital-asset-custom-files-portal-mapping":
      [
          {
             "digital-asset-name":"DA";// The name of the digital asset that contains the custom files.
             "portals":["PP1", "PP2"]; // The portal profile to which the files should be deployed. 
             "map-to-all-portals-without-profile":"true" // Set to true if the custom files should also be deployed on portal instances that do not have a profile. Otherwise, set to false.
          }
      ]   
    }
  2. Add the configuration file in the digital solution package.

    NOTE  

    In order to ensure the mapping is successful, make sure the .config file has the same name as the deploy package.
  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.