Import/Export

The Import/Export section of the Home Ribbon in the Workbench allows users to utilize packages of projects for future use, potentially on the same or different machine(s), for Runtime use or for further Configuration.

 

Import/Export Section of the Home Ribbon in the Workbench

 

The Import/Export section is comprised of the following components:

 

Pack Project

Unpack Project

Encrypt Package

Explore Package

Compare Packages

Pack Project

The Pack Project feature allows users to move whole configurations from one installation to another using a single file. It includes only the Configuration data itself, packing both files and database data. It also includes the ability to restore the active database.

 

To Pack a Project:

  1. Click on the Pack Project button in the Import/Export section of the Home ribbon in the Workbench, as shown below.

Pack Project Button

  1. This opens the Create a package for the project window, as shown below.

Create a package for the project Window

Package Info

The Create a package for the project Window will automatically show the Version and Creation Time of your current project.

Find and Replace

Properties Where Replacements Are to Be Made

Option:

Replaces the Original Value in the following properties:

All

All of the properties listed below

Text

Text property of objects

Data Source

OPC tags used as data sources in objects' DataSource property

Name

 

Title

Title property of objects such as AlarmWorX and TrendWorX objects

Keyword

Keyword property of objects

Description

Description property of objects

Custom Data

CustomData property of objects

File Name

 

Number

 

Date Time

 

 

Click the Next button to advance to the next step in the import process.

  1. The Create a package for the project window now displays the Encryption and Compression and application selection settings, as shown below.

Encryption and Compression and Application Selection Settings in the Create a package for the project Window

Encryption and Compression

Users can opt to set encryption and/or password protection for previously generated packed projects. [Note: These settings are available as part of the packing procedure itself. This button is to retroactively add encryption or password protection to existing files].

Application Selection

You have the option of selecting individual Applications (Providers) to be included in the packed project.

 

Once you have finished making your selection of applications, click on Next.

  1. The Create a package for the prokect window then shows the Display Files Options and the Display Files settings, as shown below.

Display Files Options and Display Files Settings

Display Files Options

Display Files

Once you have made your desired updates to this window, click Pack to begin packing your project.

  1. The Workbench then begins to process the packaged project. You can see the status of the project in the Task Panel in the right side of the Workbench, as shown below.

Project Packing Status in the Task Panel in the Workbench

 

Right-click the task in the Recent Tasks panel to see related options, as shown below. Note: These are the same options (except for 'Show task explorer') that are available for the same task type in the Task Explorer.

 

Right-click Options for a Pack Task in the Recent Tasks Panel

  1. You can select to Download Package, as shown above. You can save the file in the default location or set your own file name and destination. Once saved, the packed file is now able to be unpacked for future use. You can also elect to show the task explorer, view or download the task log, cancel or retry the packing procedure or delete the selected task.

Back to Top

Unpack Project

The Unpack Project feature works in tandem with the Pack Project feature to utilize saved (or "packed") configuration files. These files contain Configuration data (both files and database data) and the ability to restore an active database.

 

To Unpack a Project

  1. First, select the location in the Workbench where you would like the yet-to-be-selected package to be unpacked, then click on the Unpack Project button in the Import/Export section of the Home ribbon in the Workbench, as shown below.

Unpack Project Button

  1. This opens the Unpack a package into the project window, as shown below.

Unpack a package into the project Window

Package Selection

Package Info

The Create a package for the project Window will automatically show the Version, Creation Time, and Comments from the selected packed project.

General Options

Find and Replace

See info on Find and Replace in the Pack Project section of this topic.

 

Note that the project in the Workbench into which the unpacked project will be inserted should be manually refreshed once the unpack task is completed.

 

Click Next to proceed.

  1. You will then be able to select the individual applications (providers) that you would like to include in the target project from the package, as shown below.

Application Selection During Package Unpacking

 

When you have completed making your application selections, click Next to continue.

  1. The Display File Options will appear, as shown below.

Display Files Options

Display Files Options During Unpacking

 

You can then opt to Unpack GraphWorX user settings, gallery, symbols, materials toolbox and translator and/or Unpack GraphWorX windows layout.

Select Files

You can now select locations for the display files that you selected during the Pack process by clicking on the individual File Name and then providing the Relative Path and Location. You can also click on the Change location to the selected files link.

 

Once you have completed making your changes, click on the Unpack button.

  1. The Workbench then begins the process of unpacking the project. You can see the status of the project in the Task Panel in the right side of the Workbench, as shown below.

Unpacking Project in the Recent Tasks Panel

 

You can right-click on the running task to perform other actions, such as Show task explorer or View log, both which will show more details about the unpacking process. You can also opt to Cancel the in-progress task. Once the unpack task has completed, you can also Download Log, Retry, or Delete Task(s).

 

Unpack Task Options in the Recent Tasks Panel

 

Once the task has completed, you can refresh the Workbench's Project Explorer and expand the project where you unpacked your package to see the results.

 

Back to Top

Encrypt Package

The Encrypt Package feature allows users to set encryption and/or password protection for previously generated packed projects. [Note: These settings are available as part of the packing procedure itself. This button is to retroactively add encryption or password protection to existing files].

 

To Encrypt a Package:

  1. Click on the Encrypt Package button in the Deployment section of the ProjectWorX ribbon in the Workbench, as shown below.

Encrypt Package Button

  1. This opens the first screen of the Package Protection window, as shown below.

Package Protection Window

  1. Once you have selected a packed project to encrypt, the Package Protection section of the window is enabled.

Package Protection

  1. Click Apply to save your settings, then Close to return to the Workbench.

Back to Top

Explore Package

The Explore Package feature allows users to review the elements of a package while they are still in a packed file format.

 

To Explore a Package:

  1. Click on the Explore Package button in the Import/Export section of the Home ribbon in the Workbench, as shown below.

Explore Package Button

  1. This opens the Explore a package window, as shown below.

Explore a package Window

Package Info

Package Content

Once you have selected your package (created via Pack Project), it will populate the Package Content section of the window, as shown below. Some selected Package Content items will also provide properties in the Content Details section.

 

'Explore a package' Window with Populated Package Content and Content Details Sections

 

Some items in the Package Content section that provide Content Details properties can be expanded further, similar to how they would act within the Workbench's Tree Explorer. The example above shows the AssetWorX provider expanded to show the branch "Company" and the selected sub-branch "Foxboro bakery", which is populating the Content Details section.

  1. Click Close to close the 'Explore a package' window.

Back to Top

Compare Packages

The Compare Packages feature allows users to perform a comparison of the elements of two packages OR between one packed project and the currently loaded project within the Workbench.

 

To Compare Packages:

  1. Click on the Compare Packages button in the Import/Export section of the Home ribbon in the Workbench, as shown below.

Compare Packages Button

  1. This opens the Compare the content of two packages window, as shown below.

'Compare the content of two packages' Window

Packages Selection

  1. Once you have selected your projects for comparison (packed or otherwise), click on the Compare button.

Configuration Comparison

The Configuration Comparison section will then display the common items within both projects. In the Applications section, each application will be listed and a green checkmark denotes if either package contains that application, in order of selected packages (First Package then Second Package, or First and Current Project [which will be shown with its provided project name]). If a selected project does not contain that application, that is denoted by a red 'X' (). The example below shoes the AssetWorX component highlighted with two green checkmarks . This signifies that the First Package ("Pack1") and the Second Package ("Pack2") both contain the AssetWorX application.

 

Populated Configuration Comparison Section in the 'Compare the content of two packages' Window

 

When an application is selected within the Configuration Comparison section (such as how the AssetWorX application is selected in the example above), and it is present in both packages, you will be able to see an additional level of comparison, with two additional added sections to the right; the first being the selected First Package and the second being either the current project or the Second Package. In the example above, both packages share the same elements within AssetWorX, as denoted by the green checkmark () to the left of each item. Note that these items can expanded even further, similar to how they would act within the Workbench's Tree Explorer.

Files Comparison

If any files (display, etc.) were included in either of the selected packages, they will appear in this section. Similar to the Applications section, the presence of the listed files in either package is denoted by a green checkmark () or red X (). Using the example above, you can see that none of the listed files are included in the First Package ("Pack1"), but all are included in the Second Package ("Pack2").

    1. Once you have completed your review of the package comparison, click Close to close the 'Compare the content of two packages' window.

Back to Top

 

See Also:

Home Ribbon

Ribbon