Worked Example

Pictured is a preview of the Global Table in its complete form, ready to be used in an Asset Information Group via Global Table Link data type. The steps in this guide will set up the table as you can see it here. Note the Global Table name, the fields defined under Fields and a preview of their form layout appearance, and the table Data provided to each of the Fields.

_images/example.global_tables.preview.png

1. Add a new Global Table

To add a new Global Table, click Add one and select Lookup Table from the dropdown menu.

In the Add Table Definition window, you can input the table name and category of the table into the Name and Category fields two.

Click OK to save the new Global Table three.

_images/example.global_tables.1.png

2. Configure Global Table fields

Now that the Global Table has been created, we can add its Fields. These will be points of user input where the user may choose from a list of prescribed values. When creating a Global Table for use with a Global Table Link, the first Field will be a lookup list that lists the values which will filter the remaining fields. Since the rest of the fields are dependant on this first Lookup List field, they must be of type Alphanumeric.

The screenshot below demostrates setup of the first field. Click Add under the Fields section to add a new field one.

Then enter the Field name in the Name field two, and select ‘Lookup List’ from the Field Type dropdown menu three.

We now need to link the Field to a lookup list, so click the elipses in to the Lookup List field to bring up the next window four.

_images/example.global_tables.2a.png

If your desired lookup list already exists, you can select it from the Select Lookup List window. If this is the case, skip to step (), otherwise, continue to step 3.

3. Create a Lookup List

You can create a new Lookup List by clicking Add, entering the Lookup List Name and Category, and clicking OK. You add items to the Lookup List by clicking Edit one and entering the Lookup List Items under the Items tab. These items will be any values three you would like to be included in the first dropdown menu in the Global Table form, which will then filter the options in subsequent dropdown menus. Click OK to save these changes and add another Lookup List item four.

_images/example.global_tables.2c.png

After adding the Lookup List items, the Edit window should list all the items as shown below. Click OK to save these changes and return to the Configuration - Global Tables window.

_images/example.global_tables.2d.png

4. Create the remaining Global Table fields

Now we can create the rest of the Global Table Fields. For each of these remaining fields, we use the Field Type “Alphanumeric”.

_images/example.global_tables.3.png

5. Adjust the form field order

To order the fields correctly in the form, you can adjust their order via Field Order > Form in the top right of the Configuration menu bar. Then use the Move Down and Move Up buttons to change the order of the fields.

_images/example.global_tables.4b.png

The screenshot below shows the fields after re-ordering. Note the Form Layout preview on the right of the screenshot. In this example, the “Facility” field will be presented first, giving the user a list of facility locations to choose from. The second field to appear in the form will be “Main Area”, and its options will be based on the user’s selection of Facility. Sub Area and Location will also be filtered by their previous fields. This results in the last field in the form, Location, having the most filtered and refined options available for selection.

_images/example.global_tables.4c.png

6. Change the form field layout

If we would like to reformat how the fields are arranged, ie. each on a new line, or two fields per line, and so on, we can change these settings for each field by selecting all the fields (CTRL + Click or SHIFT + Click) one and clicking Edit two. Under the Field Layout tab three, enter the number of columns you would like each field to take up four, and from within the Category (Click the ellipses to access the Category window five), you can choose how many columns wide the form will be.

_images/example.global_tables.5a.png

In this example, we choose Columns = 2 in the Field Layout, and Columns = 2 in the Category layout, setting each field on its own line:

_images/example.global_tables.5c.png

7. Import the Global Table data

Now our global table is ready for data to be imported. The data sheet defines how each Global Table link field relates by listing each possible combination of entries into the form. See the example EXCEL data sheet below - note the headers correspond to the names of our Global Table fields:

_images/example.global_tables.data_sheet.png

To import the sheet, click Import in the Data menu as highlighted, and go through the steps of the import wizard.

_images/example.global_tables.6a.png

Once your data has imported successfully, your Global Table Configuration window should resemble the following - note the Fields in order, the form fields formatted for one field per line, and the Global Table data visible in the Data section.

_images/example.global_tables.preview.png