Import and export of application groups

Home / Documentation / Administrator guide / Application group /

Import and export of application groups

1. General information

  • Import and export of application groups in NET Genium are used to transfer application groups between different system installations and to create backup copies.
  • The application group import and export functions are intended exclusively for users with the highest permission level – the Administrator user with database ID 1. This permission is required primarily because of the ability to modify the structure, permissions, and links of application groups.
  • Icons for importing and exporting application groups are available in admin mode in the navigation area after expanding the “NET Genium” link with the gear icon. The export icon is also available in the navigation area of each application group (see the chapter on export).
  • The standard format for importing and exporting application groups is a file with the “ngg” extension, which contains the complete definition of the application group.
  • Importing an application group always creates a new instance of the application group in the target environment.
  • Updating an existing application group (similar to applications) through importing an application group is not supported.
  • Imported application groups are placed in the second-to-last position of the application group bar, before the last group (“Settings”).
  • An “ngg” file can also be imported using the “Import application” icon. All its applications are then inserted into a single application group.
  • Details
    • In NET Genium Online the import of application groups is not available – the “Import application group” icon is not displayed. Exporting application groups is not restricted.

2. Import of application groups

  • Import of application groups is available exclusively to users with the highest permission level, i.e., the Administrator user with database ID 1.
  • Import of application groups is available through the “Import application group” icon in the navigation area after expanding NET Genium with the gear icon in admin mode.
  • The “Import application group” dialog allows importing from a file with the “ngg” extension.
  • Importing application groups may lead to data inconsistency, especially if the option “Keep bindings to other applications” is enabled. The target environment may contain different identifiers of links than the source environment. In such a case, the import may be interrupted with a data consistency violation message.

2.1. Options

  • I am the owner of the imported data
    • Checking this box determines whether the import overwrites the owner of all database records in all imported database tables.
    • A detailed description of ownership and co-ownership of records is provided in the separate guide Edit form.
  • Import history of records
    • Checking this box determines whether the record history of all imported database tables should be imported.
  • Import rights
    • Checked – The rights of the application group and all its child objects are transferred to the user groups of the target NET Genium by group ID and to users by login name. A missing group is created with the same ID, a missing user does not receive their rights. If a group with the same ID has a different name or if the users differ from the source NET Genium, a question is displayed before the import whether NET Genium should resolve the differences automatically. If the answer is “No”, the import is not performed. A detailed description is provided in the separate guide Import and export of applications.
    • Unchecked – The imported application group and all its child objects that had at least one right set in the source NET Genium will have the rights to the user group “Users” set. Objects without rights remain accessible only to administrators. In the same way, all users of the “Users” group become co-owners of edit form records.
    • Details
      • Regardless of the “Import rights” option, the import does not transfer the list of administrators selected in the admin mode of the application group, but it does transfer the option User “Administrator” and following administrators. An application group restricted in this way and its applications can therefore be changed after the import only by the Administrator user with database ID 1 until the list of administrators is filled in. A detailed description of the admin mode is provided in the separate guide Application group.
  • Keep bindings to other applications
    • The behavior of both options is the same as for the import of an application. A detailed description is provided in the separate guide Import and export of applications.
    • Details
      • References between the applications of the imported file are always converted to the new IDs. The “Keep bindings to other applications” option applies only to objects outside the imported file.
      • The import turns off the “Read/write data from the database table using a memory optimized table” and “Read data from the database table using a view” options of edit forms and warns about them – it creates neither the In-Memory table nor the database view, the same as the import of an application.

2.2. Select file

  • “Browse...” button to upload the file of the imported application group with the “ngg” extension.

3. Export of application groups

  • Export of application groups is available exclusively to users with the highest permission level, i.e., the Administrator user with database ID 1.
  • Export of application groups is available through the “Export application group” icon in the navigation area after expanding the “NET Genium” link with the gear icon in admin mode, or through the icon of the same name in the navigation area of an application group, which preselects this application group in the dialog.
  • The “Export application group” dialog enables the export of application groups after pressing the “Export” button. A file with the “ngg” extension is generated, containing the complete definition of all selected application groups. The export includes the structure of the selected application groups, their applications, controls, links, and, depending on the selected options, also data or file attachments.

3.1. Application groups

  • List of all application groups that can be included in the export.
  • If the application group name is checked, the selected application group will be part of the resulting export.
  • The “Home page” and “Settings” application groups cannot be exported.

3.2. Options

  • Including data
    • Checking this box determines whether the database records of all exported database tables should be included in the resulting export.
  • Including attachments (files/images)
    • Checking this box determines whether file attachments of all exported database tables should be included in the resulting export. Attachments are exported only together with data.

Images inserted into “RichText” controls and the background image of the application group are always part of the export.