Show Contents / Index / Search

Archive User Scripts

You can save your customizations to the relational database table layout as user scripts. If the system fails, the define command automatically uses these user scripts to rebuild the client control tables.

If you modify your relational database table layout in the Client Configurator, it's a good idea to save your changes as user scripts for backup purposes. If a hard disk or system failure occurs, you can use these user scripts to recover your customized table layout.

Note: You don't need to archive user scripts from previous versions of the Databridge Client. During the upgrade process, the migrate program copies any existing user scripts to a folder in the scripts subdirectory of the data source's new working directory.

To set the user script directory

  1. Create a directory for your user scripts in the location you want.
  2. In the Explorer view, right-click the data source and choose Client Configuration.
  3. On the left side of the Client Configuration dialog box, click the plus sign (+) next to Customizing and then click User Scripts.
  4. For User script directory, accept the default path or type a new path. The default is the scripts subdirectory in the working directory of the associated data source.
  5. (Optional) For User scripts archive directory, specify the location where the user scripts archive directory is created. This directory uses the data source name followed by the date (and time, if multiple archives are created on the same day).
  6. Click OK.

To create user scripts from the Client Console

  • With the data source selected in the Explorer view, choose Data Source > Advanced > Create User Scripts.

    After the Client copies the existing user scripts to the user scripts archive directory, it creates a new set of user script files in the user scripts directory.

    User script archive directories aren't overwritten or deleted when new ones are created. Delete any that are no longer useful to you.