Skip to main content

Import and Export Service Entities

Service entities can be imported/exported via a predefined Excel (.xlsx) template. These features facilitate seamless entity migration across different applications, enabling easy entity configuration, modification, and backup.

Export​

The Export feature allows users to download existing database entities into an Excel (.xlsx) file. This file serves as a backup, can be modified, and can be re-imported after changes.

Steps to Export Service Entities:​

  1. Right-click on "Service Entities" in the Entity Explorer.
  2. Select "Export" from the context menu.
  3. A file explorer window appears, allowing users to choose the save location.
  4. Enter a file name and click Save.
  5. The entities file is generated and saved in .xlsx format.
  6. A confirmation message "Exported Successfully" appears.

Note:

  • The exported file includes all relevant attributes and configurations of the service entities.
  • Ensure the exported file is stored securely for future imports.

SE Export

Import​

The Import feature allows users to upload multiple database entities from a predefined Excel template.

Steps to Import DB Entities:​

  1. Right-click on "Service Entities" in the Entity Explorer.
  2. Select "Import" from the context menu.
  3. A file explorer window appears. Browse and select the .xlsx file containing the entity data.
  4. The system performs validation checks on the file:
    • Ensures mandatory fields are filled.
    • Checks for duplicate entity names.
    • Verifies correct data types.
  5. If the validation passes, the entities are imported successfully.
  6. A confirmation message "Entities Imported Successfully" appears.

Note:

  • Ensure that the file format matches the required structure.
  • Conflicts, if any, should be resolved during the validation step.

This guide ensures a seamless import/export process for service entities, making it easier to transfer configurations between applications.

SE Import

Service Entities Excel Sheet​

This document provides an overview of the structure and contents of the Service Entities Excel file, which consists of two sheets: Service Entities and Attributes.

1. Service Entities Sheet​

This sheet contains a list of service entities along with key metadata fields:

Columns:

Column NameDescription
NameThe name of the service entity.
IsMultipartFormdataBoolean indicating if the entity supports multipart form data.
DescriptionOptional description of the entity.
NamespaceDefines the folder name under which the entity falls.

2. Attributes Sheet​

This sheet defines attributes for each service entity.

Columns:

Column NameDescription
EntityNameThe service entity this attribute belongs to.
NameThe attribute's name.
DatatypeData type (e.g., String, Complex).
IsArrayBoolean indicating if this attribute is an array.
ReferenceEntityIf the attribute references another entity.
KeyTypeForMapKey type for mapping structures.
ValueTypeForMapValue type for mapping structures.
ValueIsArrayForMapBoolean indicating if the value is an array in mapping.
IsMandatoryWhether the attribute is required.
IdentitySeedValueThe starting value for identity columns.
DecimalPrecisionPrecision for numeric values.
DecimalScaleScale for numeric values.
DateOptionSpecial date-related options.
DefaultValueThe attribute's default value.
ExampleOptionExample value options.
Example DescriptionDescriptive example.

Download Import Template​

The Service Entities Import Template is an Excel file that allows users to define service entities and their attributes before importing them.

The template consists of two sheets: Service Entities and Attributes.

1. Service Entities Sheet​

This sheet is used to define service entities and their metadata.

Columns:

Column NameDescription
NameThe name of the service entity.
IsMultipartFormdataBoolean indicating if the entity supports multipart form data.
DescriptionOptional description of the entity.
NamespaceDefines the folder name under which the entity falls.

Note:

  • Users must provide unique Name values for each entity.
  • The IsMultipartFormdata column accepts True or False values.
  • Ensure the Namespace is correctly assigned to avoid conflicts.

2. Attributes Sheet​

This sheet defines attributes for each service entity being imported.

Columns:

Column NameDescription
EntityNameThe service entity this attribute belongs to.
NameThe attribute's name.
DatatypeData type (e.g., String, Complex).
IsArrayBoolean indicating if this attribute is an array.
ReferenceEntityIf the attribute references another entity.
KeyTypeForMapKey type for mapping structures.
ValueTypeForMapValue type for mapping structures.
ValueIsArrayForMapBoolean indicating if the value is an array in mapping.
IsMandatoryWhether the attribute is required.
IdentitySeedValueThe starting value for identity columns.
DecimalPrecisionPrecision for numeric values.
DecimalScaleScale for numeric values.
DateOptionSpecial date-related options.
DefaultValueThe attribute's default value.
ExampleOptionExample value options.
ExampleExample values for reference.
DescriptionOptional description of the attribute.

Note:

  • EntityName must match a valid service entity defined in the Service Entities sheet.
  • Boolean fields (e.g., IsArray, IsMandatory) accept True or False values.
  • Ensure Datatype and ReferenceEntity are correctly assigned.

SE Download Import Template

This document serves as a reference for correctly using the Service Entities Import Template to streamline the import process.

Note:

  • The Service Entities sheet defines the entities, while the Attributes sheet specifies their properties.
  • Ensure proper formatting when editing or importing data to avoid errors.

This documentation serves as a reference for understanding and managing service entities in the provided Excel file.

Troubleshooting​

  • If the import fails, check the file format and ensure all mandatory fields are included.
  • Verify that exported entities are compatible with the target application's schema.
  • Check system logs for detailed error messages if issues arise during import.

General Guidelines for Importing​

  • Fill in the template with the required data before importing.
  • Ensure that all mandatory fields are completed.
  • Validate data types and field values to avoid import errors.
  • Save the template as an Excel file (.xlsx) before uploading.

This document serves as a reference for correctly using the Service Entities Import Template to streamline the import process.