Import File Changes Page

Changes made outside of VTScada to the files that are part of your application are ignored. An authorized operator (one who possesses the Configure and the Edit Files security privileges) must import the changed file before VTScada will use it.

This feature applies to changed files. It does not discover or import new files. For that, use the File Manifest.

The Import File Changes button in the VAM will import new files, import changes to known files and recompile the application. It will not provide a chance to review changes before doing any of those tasks.

For source code and text files, you may review the changes, line by line before importing them. The new version of the line (in the file being imported) is marked in green and the old version (the current version in change control) is marked in yellow.

Image files are compared on a side-by-side basis.

You should always review all the changes within a file before importing it into your application.

Review changes before importing:

  1. Open the Application Configuration dialog.
  2. Click Import File Changes.
  3. Look for categories of files with plus signs.

The plus sign and the number beside the category name indicate that changed files were found.

  1. Expand the category to view the file(s).
  2. Click on the name of a file to examine. Changes are highlighted as shown at the beginning of this topic.

Import changed files:

Check marks beside the file names indicate which files to include in this operation.

  1. Open the Application Configuration dialog.
  2. Click Import File Changes
  3. Examine the changes within the files you intend to import.
  4. Click to select each file to import. You may use Select All to speed this process.

Only files indicated with a check are imported.

  1. Click Import.

Discard changes in files:

After reviewing changes, you may decide to not import them. In this case you may wish to replace the contents of the file with whatever is in use within your application.

  1. Open the Application Configuration dialog.
  2. Click Import File Changes.
  3. Click to select each file to discard. You may use Select All to speed this process.

Only files indicated with a check are discarded.

  1. Click Discard

The file on disk are replaced by the current version in the application's repository.

Export latest (VTScada changes to files):

Export Latest will merge changes from VTScada into the file on disk. In normal operation, this is done automatically, but the button exists to allow you to force a merge.
The user copy file is not overwritten by VTScada, but changes made in VTScada are merged into that file. Changes within that file that have not yet been imported are preserved. Conflicts are reported on a line by line basis if they occur.

  1. Open the Application Configuration dialog.
  2. Click Import File Changes.
  3. Click to select each file to discard. You may use Select All to speed this process.

Only files marked with a check are discarded.

  1. Click Export Latest

The file on disk is updated with current version in the application's repository.

Troubleshooting:

  • Your edited file is not listed in the Import File Changes menu.

Ensure that edits are saved.

Click Reload to refresh the display.

  • An error message reports a conflict.

Review the conflict using the Version Log and a text editor. Depending on whether the changes in VTScada or in the file should have priority, you may edit the file to resolve conflicts, use the Import button, or use the Discard button.