Working with Global Aliases

Once a theme has been defined, the user can define the global aliases that will be associated with that theme, along with the alias values that get used with that theme. A theme, however, is not required for defining a global alias.

 

Use the Global Aliasing Configurator to create global aliases and assign them the parameters you desire. Alias names can contain aliases themselves, which are resolved during GENESIS64 application runtime. In this section, the most common operations for global aliases are described. When configuring global aliases, first select the database you wish to use and if necessary right click on that database and select the Make Active command from the context menu. Expand the database node to view any aliases or themes you have already created and stored.

 

Once you have defined your themes, theme values, and global aliases, you can use them, for example, in GraphWorX64, AlarmWorX64, TrendWorX64, and EarthWorX.

Alias Folders

You can use folders to organize your aliases, whether or not you decide to organize your aliases into themes. A theme is a logical grouping of aliases used for some purpose, whereas a folder is a physical container.

 

To Create an Alias Folder:

  1. Right-click on the Aliases node and select the new Add Folder command, as shown below.

Add Folder

 

-OR-

 

Click on the Aliases node and then on the Add Folder button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add Folder Button

  1. The Folder properties window will appear in the right side of the Workbench. Enter a Folder Name.

Folder Properties

 

All of the properties other than the name (which much be unique) are optional. For Description, you can opt to Display in Alias Browser. The Use this Display Name property is particularly valuable when the assigned name is long and difficult to enter properly.

  1. Click the Apply button to apply the properties you just defined.

Note. Data stored in a global aliasing database can be changed by other users. What you see may not be current data. To ensure you are browsing the most up to date data at any time, click the Refresh button or right-click on the item in the tree control and select the Refresh or Refresh Parent command.

Create and Edit Global Aliases

To Create a Global Alias:

  1. Right-click on the Aliases node (or the alias folder you want to add the alias to) then select Alias, as shown below.

Add Alias

 

-OR-

Click on the Alias node (or the alias folder you want to add the alias to) then click on the Add Alias button, as shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add Alias Button

  1. This opens the New Alias properties window in the right side of the Workbench, as shown below. Enter an Alias Name.

Alias Properties Window

  1. Put a check mark in the Enabled Alias Tag check box so that the global alias is resolved at runtime in any GENESIS64 application that references it.

Note. Of particular importance in the Global Alias Property and the Global Alias Folder Property panes is the Enable check box. You can create a global alias or a folder containing global aliases, but this folder and all its aliases or individual aliases are only available to other programs through the Global Aliasing Server when Enabled is enabled for both the item and folder.

  1. Enter a Description to help you remember the purpose of the alias into the Description text box, if desired (optional).

  2. Optionally, select a Theme from the dropdown list box. Themes are described in more detail in the topic Working with Themes that follows, and they define a set of a aliases with the same set of properties. Should your selected theme contain connected theme values, they will appear in the Theme Value/Alias Value section at the bottom of the window.

  3. Enter the Default Value into the text entry field, if desired. Or, click on Add File Reference to open a file explorer to browse for your selected default value.

  4. Enable the Display in Alias Browser check box to have your alias appear in the Unified Data Browser control.

  5. The Use this Display Name property is particularly valuable when the assigned name is long and difficult to enter properly.

If you chose a theme in Step 5, the theme's values appear in the Alias Values table at the bottom of the form. For each Theme Value, you can specify the Alias Value to be used. There are a few things you should keep in mind when entering Alias Values:

  1. Click the Apply button to apply the properties you just defined. The global alias will then appear in the tree control.

To ensure that your alias definitions are up to date, click on the Refresh button or right-click the alias in the tree control and select Refresh.

 

To be useful, global aliases need to be able to reference one or more values. The more values you define for a global alias, the more useful that global alias becomes in terms of saving you additional work. You create global alias values and assign those global alias values properties such as a default value in the GAS Configurator.

Editing a Global Alias

To Edit a Global Alias:

  1. Right-click an alias in the tree explorer then click on either Edit or Edit on a new tab.

Editing an Alias

 

-OR-

 

Click on an Alias in the tree explorer then click on the Edit or Edit on a new tab button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Edit Buttons

  1. Make your changes in the properties pane as you would for a new Alias; then click the Apply button.

The same right-click menu is also the key to renaming and deleting aliases from the system. Since alias folders, aliases, theme folders, and themes are often used as templates for new aliases and themes, you can use the Copy and Paste function to quickly duplicate your items.

 

See Also:

Global Aliasing

Global Alias Resolution

Working with Themes

Global Aliasing Configurator

Global Aliases Tab on the Data Browser