This document outlines the procedures for exporting and importing Business Objects from or into your system from the Design System > [Package] > Maintenance tab.
Appway allows you to export one or multiple Business Objects in the version you need. Files containing Business Objects have the ending AWEXPORT.

To export the Business Objects contained in a Package, follow these steps:
- Go to the Solution Design > Packages > [Package] > Maintenance > Import and Export, and click on the Export to .awexport file button.
- Alternatively, to export one or more Business Objects of the same type (e.g. Screens) from the Library, select them and right-click to open the context menu. Then, select the Export Selected option.
The Export window is displayed. - The Export window is displayed with a list of Business Objects. Each column allows you to apply filters to display only the desired items. Click on the Filter icon in the column header to display the available filters. For example, the Export column allows you to select one of the following filters:
- Business Objects is Export to see the Business Objects that will be exported.
- Business Objects is NOT Export to see all the Business Objects that will not be exported.
- You can export Business Objects from a version older than Head (which is the default option). To do so, click on the Change Versions button, and then select which version to export.
The list of Business Objects is reloaded, thus reflecting the Business Objects available in this version. Take the following features into account:
- If you previously selected Business Objects, and these are available in the version you have selected, they are still selected.
- If you have selected Business Objects that are not available in the selected version, they disappear from the list, and are not exported. In this case, you get a notification at the end of the process.

- Select the Business Objects you want to export by selecting the corresponding check boxes.
If you need to select a large number of Business Objects, you have different options:
- Click on Select Visible or Deselect Visible to select or deselect all the visible Business Objects at once. These options, combined with filters, allow you to quickly select Business Objects based on complex rules. For example, you can export all the Business Objects of the type 'Screen' which were modified during the last week by the user 'Tom Smith', except the ones containing the word 'Test' in their names.
- Click on the Select Custom List Content or Deselect Custom List Content buttons to add or remove all the Business Objects contained in a Custom List to the selection.
- Click on the Select Dependencies button to add the currently selected Business Objects, as well as their dependent objects, to the list. The system then checks the newly added Business Objects, and adds their dependent Business Objects to the list. This action is repeated until all dependencies are satisfied. This option prevents you from exporting any unsatisfied dependencies. However, consider that this often means that a large number of additional Business Objects is added to the export.
- Click on the Export button. The system generates an
.AWEXPORT file - Click on the Download .awexport file button to download it to your local system.
In this scenario, you only want to export a specific set of Business Objects.
- First, create a Custom List with a list of Business Objects to include (or exclude) from the export. This export can only be performed in the context of a Package. Appway provides two types of Custom List:
- Static Custom Lists: Static lists are populated manually. Drag and drop the relevant objects to your list.
- Smart (dynamic) lists: Smart lists are populated dynamically based on rules. The rules are based on object attributes such as "last modified date", "last modified user", "committed" and so on.
Pay attention to committed criteria. "Committed = Yes" means that only committed objects are added to the list, e.g. an object A with at least one committed version, and a head version will not be added to the list.
- Once you have your Custom List defined, go to Solution Design > Packages, and click on the desired Package.
- Select the Maintenance tab, and then click on the Export as .awexport File button.
- Use the Select custom list content button in the export window to select and add the Business Objects from your custom list to the .AWEXPORT file.
- Use the Deselect custom list content button to exclude all the Business Objects in a custom list from the export.
- Click on the Select Dependencies button to add all the outgoing dependencies of your Business Objects.
- Click on the Export button to generate your
.AWEXPORTfile. Alternatively, you can export a Custom List and its contents by right-clicking on a Custom List from the Business Object library and selecting the Export List option from the context menu.

The import process is performed inside a Package. This option allows you to import Business Objects from a Package that has the same ID as the Package you are currently in. Files containing Business Objects have the ending AWEXPORT.

-
To import Business Objects into your target system, either select Import .awexport File from the Business Object context menu, or go to Solution Design > Packages > [Package] > Maintenance > Import and Export and select the Import from .awexport File button.
-
Alternatively, select Import .awexport File from the Business Object context menu.
-
Browse to the desired .AWEXPORT file. The system shows the list of the Business Objects contained in the .AWEXPORT file.
Some of the columns contained in the Import window are described below:
| State | It shows either 'OK' or 'WARN'. 'WARN' indicates a problem with the import. For example, you could be overwriting a local Business Object with an older version of the same Business Object. Click the column header and select 'WARN' from the drop down list to see all the Business Objects with warnings. |
| Import | Selected check boxes indicate the Business Objects that will be imported. |
| Import State | It indicates the state of the imported Business Object in relation to your local system:- Current Head Version: the imported Business Object is exactly the same as the one in your local system. Importing it would replace the local version with an equal version (not recommended).
- New Business Object: the imported Business Object does not exist yet in the local system.
- Overwrites Local Changes: the imported Business Object exists in the local system, and it will supersede the changes made in the local system.
- Overwriting local BO with different BO: the imported Business Object has the same ID as a local Business Object, but does not share any common history with it. Depending on the Business Object, this could represent an issue.
- Custom List: a Custom List with the same ID already exists in the local system. The imported Custom List will overwrite the local one. By default, the system does not import these Custom Lists.
|
| Import Modifier | The person who created the imported Business Object version. |
| Import Modification Date | The date on which the imported Business Object version was created. |
| Local Modifier | The person who created the local Business Object version that will be overwritten by the import. |
| Local Modification Date | The date on which the local Business Object version was created. |
| Local Name | The display name of the local Business Object. Since names are versioned, this can be different than the name of the imported Business Object, and can help you identify which local Business Object will be overwritten. |
| Locally Committed | Specifies whether the local Business Object version is committed. |
| Lock State | Specifies whether the local Business Object is locked (which prevents the import process from overwriting it). |
-
If there is a Business Object with a version clash, double click on it to open a visual history viewer.

On the left, you see the versions of the imported Business Object. On the right, you see the versions of the local Business Object. Versions are sorted by time: if two versions are equal, they appear side-by-side.
In the example above, only the first version of this Business Object matches between import and local. There were three additional changes made to the imported Business Object, and one additional change to the local Business Object. The local change was made after the import changes, so it appears below them.
Each box shows the change timestamp, the user who made the change, and the name of the system where the change was made. The dot indicates whether it was you who made the change (blue dot), and whether that version was committed (filled dot).
-
(Optional), Select the following check boxes:
- Create Custom List for Imported Objects to automatically create a Custom List containing all the newly imported Business Objects.
- Commit Imported Objects to commit the imported Business Objects. In this case, you need to enter a comment.
-
Click on the Import button. Once the import is complete, you get a notification.
You can import any files from your local file system. Depending on the type of file, the system automatically generates different kinds of Business Objects. For example, a PDF can be turned into a PDF Output, and a JPG image can be turned into a Resource.

-
Go to Solution Design > Packages > [Package] > Maintenance > Import and Export and click on the Import Any File button, or open the Business Object context menu, and select the entry with the same name.
-
In the dialog box, browse to the desired file. If the uploaded file can be turned into more than one type of Business Object, select a type. For example, a PDF file can be turned into a PDF Output or a Resource.

-
Set the new Business Object properties. In the case of a 'PDF Output', for example, fill the ID, Name, and Description fields.

-
Click on the Import button. Once the import is complete, you get a notification.