Skip to main content

Configure the Marketplace app for composable architecture compatibility

Level: beginner

As part of transition to new architecture, the package architecture was revamped in Creatio version 8.0.6. During the transition period, existing Creatio instances include both composable and classic package architectures after updating to version 8.0.6 and later. Learn more: Composable package architecture. Existing Marketplace apps are developed based on classic package architecture. During the transition period, existing Marketplace apps work as intended. After the transition period, new Creatio instances will only include composable architecture. I. e., installing a Marketplace app into an updated Creatio instance will not work. Configure the Marketplace app for composable architecture compatibility to ensure the app operates as expected after the transition to composable architecture.

We recommend configuring the Marketplace app for composable architecture compatibility during the transition period if your app meets the following prerequisites:

  • The app is a complete and independent product. For example, the app generates requests without using contacts and accounts.
  • The app adds new features to Freedom UI Designer or extends existing features. For example, the app adds a new component to the Freedom UI Designer or improves the UX of the Configuration Element Designers.

If your Marketplace app is based on Classic UI sections that have no Freedom UI section counterparts yet, we recommend waiting for the release of composable apps that include the required Freedom UI sections. After the release, review the new functionality of the composable app, configure your Marketplace app for composable architecture compatibility, and publish the new version on Creatio Marketplace.

You can configure the Marketplace app for composable architecture compatibility in the following ways:

  • using Creatio IDE
  • without using Creatio IDE

Configure the Marketplace app for composable architecture compatibility using Creatio IDE

  1. Prepare the app development environment. You can deploy the app development website on-site or in the cloud. Instructions: Prepare the app development environment.

  2. Install the Marketplace app into Creatio.

  3. Unlock the package that contains the Marketplace app functionality using the Clio utility. Instructions: official vendor documentation (GitHub).

  4. Open the Configuration section. Instructions: Open the Configuration section.

  5. Select the package that contains the Marketplace app functionality.

  6. Select Properties in the package menu.

  7. Edit the package dependencies.

    1. Open the Dependencies tab.

    2. Add packages of composable architecture to the dependencies.

      1. Go to the Depends on Packages block.
      2. Click + Add.
      3. Select the CrtCore package and add a dependency to the package.
      4. If your app uses the functionality of composable apps, add the package that implements the required functionality to the dependencies. For example, your Marketplace app uses the functionality of the Customer360 composable app. In this case, select CrtCustomer360App and/or CrtCustomer360Mobile packages and add dependencies to the Marketplace app package.
    3. Remove dependencies on packages of classic architecture, for example, Base, Platform, NUI, etc.

      Important

      If errors occur while removing package dependencies, debug the Marketplace app and identify the schemas where you must remove the dependencies on schemas and packages of classic architecture.

    4. Save the changes.

    For example, view the connection chart among Marketplace app, composable architecture, and Customer 360 composable app packages in the figure below.

  8. Test the Marketplace app operability. To do this, verify that the functionality operates as expected using a new or existing Creatio instance. Make sure the app meets the Requirements for Marketplace app.

Configure the Marketplace app for composable architecture compatibility without using Creatio IDE

  1. Download the package that contains the Marketplace app functionality.

  2. Unpack the *. zip archive that contains the Marketplace app packages using the Clio utility. Instructions: official vendor documentation (GitHub).

  3. Edit the package dependencies.

    1. Open the ...\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\SomePackageName\descriptor.json file.

    2. Add packages to the array property of the DependsOn object.

      1. Add the CrtCore package to the array property of the DependsOn object.
      2. If your app uses the functionality of composable apps, add the package that implements the required functionality to the array property of the DependsOn object. For example, your Marketplace app uses the functionality of the Customer360 composable app. In this case, add CrtCustomer360App and/or CrtCustomer360Mobile packages to the array property of the DependsOn object.
    3. Remove dependencies on packages of classic architecture, for example, Base, Platform, NUI, etc.

    4. Save the changes.

    View the example of the descriptor.json file below.

    descriptor.json file
    {
    "Descriptor": {
    ...,
    "DependsOn": [
    {
    "UId": "012e2e14-082b-ac2b-da5a-2fc87bad41d4",
    "PackageVersion": "7.8.0",
    "Name": "CrtCore"
    },
    {
    "UId": "2ecba2bd-b810-47a5-a1b1-08c888529d6c",
    "PackageVersion": "7.8.0",
    "Name": "CrtCustomer360App"
    }
    ]
    }
    }
  4. Test the Marketplace app operability. To do this, install the app into a new Creatio instance and verify that the functionality operates as expected. Make sure the app meets the Requirements for Marketplace app.

Configure the Marketplace app for backward compatibility

Freedom UI shell is turned on for new Creatio instances out of the box. Classic UI sections that have Freedom UI section counterparts are no longer displayed in workplaces but remain available during the transition period.

If your Marketplace app is based on Classic UI sections that were replaced by Freedom UI sections, configure the app to ensure it operates as expected.

If your Marketplace app is based on Classic UI sections that are under transition to Freedom UI, take the following actions:

  1. Add Classic UI sections to the Marketplace app workplace. Instructions: Set up workplaces (user documentation).
  2. Configure exceptions for Classic UI sections. Instructions: Add exceptions for specific Creatio objects (user documentation).
  3. Bind the UI settings to the package. Instructions: Bind UI settings (user documentation), Bind data to the package.

As a result, users will continue to use your Marketplace app during the transition period as expected.


See also

Composable package architecture

Steps to develop the Marketplace app

Creatio IDE overview

Packages overview

Requirements for Marketplace app

Set up workplaces (user documentation)

Manage form pages in Freedom UI and Classic UI (user documentation)

Bind UI settings (user documentation)

Bind data to the package


Resources

Official Clio utility documentation

Marketplace updates