Fabric Studio - Exporting and Importing a Fabric Project

Fabric Studio has a proprietary encapsulation functionality that packages an entire project or selected components. Fabric projects can be backed up and restored using the Export and Import options that trigger the encapsulation and decapsulation processes.

Exporting Selected Project Components

There are two Export options:

  • Export an entire project.
  • Export a specific object, for example:
    • Group items, Shared Objects, References, Web Services, LU.
    • Sub-groups, interfaces, Java, Resources, Translations, Tables.
    • Java files (categories).
    • Objects, whereby you can export a specific object from the Project Tree. Java functions cannot be exported using this method.

To export a project, do the following:

  1. Right click the Project Group or Object and then click Export.
  2. Select the exported file’s Name and Location and then click Save. A new file is created with a k2export extension.

Importing Selected Project Components

You can import an entire exported project or specific branches of a Project Tree whereby the imported objects are attached to an existing project.

Notes

  • There is no backwards support compatibility. Importing a project exported from a higher version of K2View Fabric Studio is not supported.
  • Only the same type of object can be imported. For example, Logical Unit to Logical Unit, LU Table to LU Table, Java Files to Java Files. You can also copy the same type of object into another group. For example, to copy Java files from Shared Objects to Reference Java files.
  • The Import process is implemented on a Java files level and not on Java functions. Therefore, when a Java file is imported, it overrides the entire file including its Java functions.
  • When updating a specific function in a Java file, it is recommended that you add the function to the Java file manually.
  • Java files are imported into the Category level of the Logic File.
  • Importing Globals to an existing Globals file does not override the existing Java file. Both files are merged into one file unless they have the same name, in which case, the new file overrides the existing file with the value of the imported variable.

How Can I Import a K2EXPORT File Into My Project?

Import Options

  • Import All, imports the entire exported project together with notes regarding overridden data and creating new LU.
  • Custom Import, enables you to select the exported objects or group items to be imported.

Import All Process

  1. Right click the root of the Project Tree, click Import and then click Import All to open the File Browser and select the k2export file to be imported.

image

  1. Select the file and click Open:
    a. If the file name exists, click either OK to confirm or Ignore to override or skip the files.\ b. When importing files to a non-existent LU, select the targeted LU or create a new LU saved with the exported LU file’s name.

    image

  2. A confirmation window opens asking you whether you want to:\ a. Override the specific file.\ b. Override all the conflicting files in the import package.\ c. Decline the override of the specific file.\ d. Decline the override of all the conflicting files.

    image

Custom Import Process

  1. Right click the root of Project Tree, click Import and then click Custom Import.

image

  1. Click the branches and items to import from the file and then click and drag the image icon to the current project’s structure (right pane).

image

The Custom Import window displays the number of imported and overridden items.

  1. Right click the Target Project Tree to display a context menu with the following options:

    a. Remove All Conflicted Items, removes all conflicting items from the target whereby only new items remain.\ b. Remove Import Items, removes selected items only. Right click an item to select it.\ c. Show Conflicted Items Only, displays only items that conflict with existing items.\ d. Show Import Item Only, displays imported items only.\ e. Show All Items, displays all items in the project tree.

  2. Click Import & Close to confirm the Import process or close the window to cancel it.

  3. A confirmation window opens asking you whether you want to:

    a. Override the specific file.\ b. Override all the conflicting files in the import package.\ c. Decline the override of the specific file.\ d. Decline the override of all conflicting files.

image

Notes

When importing objects with the same name and location in the Project Tree, a yellow triangular notification icon is displayed next to the imported objects. The imported objects override the existing objects.

Previous

Fabric Studio - Exporting and Importing a Fabric Project

Fabric Studio has a proprietary encapsulation functionality that packages an entire project or selected components. Fabric projects can be backed up and restored using the Export and Import options that trigger the encapsulation and decapsulation processes.

Exporting Selected Project Components

There are two Export options:

  • Export an entire project.
  • Export a specific object, for example:
    • Group items, Shared Objects, References, Web Services, LU.
    • Sub-groups, interfaces, Java, Resources, Translations, Tables.
    • Java files (categories).
    • Objects, whereby you can export a specific object from the Project Tree. Java functions cannot be exported using this method.

To export a project, do the following:

  1. Right click the Project Group or Object and then click Export.
  2. Select the exported file’s Name and Location and then click Save. A new file is created with a k2export extension.

Importing Selected Project Components

You can import an entire exported project or specific branches of a Project Tree whereby the imported objects are attached to an existing project.

Notes

  • There is no backwards support compatibility. Importing a project exported from a higher version of K2View Fabric Studio is not supported.
  • Only the same type of object can be imported. For example, Logical Unit to Logical Unit, LU Table to LU Table, Java Files to Java Files. You can also copy the same type of object into another group. For example, to copy Java files from Shared Objects to Reference Java files.
  • The Import process is implemented on a Java files level and not on Java functions. Therefore, when a Java file is imported, it overrides the entire file including its Java functions.
  • When updating a specific function in a Java file, it is recommended that you add the function to the Java file manually.
  • Java files are imported into the Category level of the Logic File.
  • Importing Globals to an existing Globals file does not override the existing Java file. Both files are merged into one file unless they have the same name, in which case, the new file overrides the existing file with the value of the imported variable.

How Can I Import a K2EXPORT File Into My Project?

Import Options

  • Import All, imports the entire exported project together with notes regarding overridden data and creating new LU.
  • Custom Import, enables you to select the exported objects or group items to be imported.

Import All Process

  1. Right click the root of the Project Tree, click Import and then click Import All to open the File Browser and select the k2export file to be imported.

image

  1. Select the file and click Open:
    a. If the file name exists, click either OK to confirm or Ignore to override or skip the files.\ b. When importing files to a non-existent LU, select the targeted LU or create a new LU saved with the exported LU file’s name.

    image

  2. A confirmation window opens asking you whether you want to:\ a. Override the specific file.\ b. Override all the conflicting files in the import package.\ c. Decline the override of the specific file.\ d. Decline the override of all the conflicting files.

    image

Custom Import Process

  1. Right click the root of Project Tree, click Import and then click Custom Import.

image

  1. Click the branches and items to import from the file and then click and drag the image icon to the current project’s structure (right pane).

image

The Custom Import window displays the number of imported and overridden items.

  1. Right click the Target Project Tree to display a context menu with the following options:

    a. Remove All Conflicted Items, removes all conflicting items from the target whereby only new items remain.\ b. Remove Import Items, removes selected items only. Right click an item to select it.\ c. Show Conflicted Items Only, displays only items that conflict with existing items.\ d. Show Import Item Only, displays imported items only.\ e. Show All Items, displays all items in the project tree.

  2. Click Import & Close to confirm the Import process or close the window to cancel it.

  3. A confirmation window opens asking you whether you want to:

    a. Override the specific file.\ b. Override all the conflicting files in the import package.\ c. Decline the override of the specific file.\ d. Decline the override of all conflicting files.

image

Notes

When importing objects with the same name and location in the Project Tree, a yellow triangular notification icon is displayed next to the imported objects. The imported objects override the existing objects.

Previous