Skip to main content
Skip table of contents

Configurations

Definition

This part allows to import or export Configurations of services:

  • Data Model

  • Business Model

  • Internationalization Service

  • Notification Service

  • Reporting Service

  • Synchronization Service

  • Audit Model

  • Access Service

  • Tenant Configuration Service

On each service, you can export schema by clicking on "Export Schema" button.

Usage

You can access the Configuration page :

  • by clicking on "System" â†’ Configuration

Select Configuration Service

Steps

Preview

1

Choose the service you want to import or export configuration on.

Import

Steps

Preview

1

Choose the Import tab.

2

For each service, all types corresponding to the service are displayed.
By default, all types are selected.
If you want to import specific types, click on the "Deselect All" button and tick the types to Import.

3

Click on the "Upload File" button.

4

Drop the file or click in the zone to choose the file in folders.

Format accepted: only XML.

A check is performed on Import.

5

A simulation report is displayed with:

  • The concerned types

  • The name of the file

Four categories are reported:

  • To be created: list of new items by types.

  • To be updated: list of items to update by types.

  • To be ignored: list of items for unselected types.

  • To be skipped: list of items to skip by types.

6

You can modify your import by clicking on the "Back" button.
To validate, click on the "Validate and Import" button.

7

A import report is displayed (same as the simulation one).

For internationalization import: locales can be added through the import function, but the default locale has to be managed directly through the GUI or API. If a modification is done in the file to be imported, it will be ignored by the system.

Rest API

Endpoint

Payload

Response

Description

POST <tenant>/api/<service>/conf/dataset/import?<options>

<service> represents any service trigram that support dataset import: (i18n, amcp, aud, bum, idm, ntf, rep, sync, tnt).

<params> are query parameters import options:

mode:

IMPORT (existing items are updated, new one are created), CREATE (Create only, existing items are left untouched), UPDATE (Update only, new items are skipped).

execution:

SYNC (The import is done synchronously in one HTTP request, this is only suitable for small imports)

ASYNC (The import is done asynchronously, this is suitable for large import and is the default execution when using the UI)

In all cases, the progress can be followed using the dedicated endpoint (see below).

simulation:

true, false

If true, the import will only be simulated and no changes will be commited.

filterTypeNames:

An optional list of type names to filter out the dataset. Only those items that implement the type will be imported.

filterTypeClasses:

An optional list of type classes to filter out the dataset. Only those items that implement the type classes will be imported. Has precedence over filterTypeNames.

The XML configurations.

A (complete or partial) import result.

The result will be partial and returned immediately if the execution is ASYNC.

Contains an id which allows to track progress.

Import XML configurations

GET <tenant>/api/<service>/conf/dataset/import/~progress/<id>

Get the progress of an import by its id.

-

The current import result containing the progress percentage.

Track the progress of an import

Export

1

Choose the Export tab.

2

For each service, all types corresponding to the service are displayed.
By default, all types are selected.
If you want export specific types, click on the "Deselect All" button and tick the types to Export.

3

It is possible to filter the Export using the search bar.
At least one type must be selected.
The filter only works on id (not case sensitive).

4

Click on the "Export" button.

5

The XML file is downloaded into your folder.

Read Next

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.