Editing Lookup Table Elements Using a Button

If your model uses Lookup Table elements, you may want the user to be able to directly edit the definition of the Lookup Table.  This can be done by using a Button control that is linked to a Lookup Table element.

Within the Button control, you must select Edit Lookup Table Data for the command:

You then select the Lookup Table element that you want to edit. Note that when you click on <Click to select>, the dialog to select an element will only display Lookup Table elements.

Within a Dashboard, when the Button is pressed, the dialog for defining the Lookup Table definition is displayed:

The user can edit existing items, or add and remove new rows (and columns and layers if the table has more than one dimension).

   Note: Pressing a Dashboard button linked to a Lookup Table element is equivalent to pressing the Edit Data button within the Lookup Table element’s property dialog. As a result, depending on how the element is defined, under some circumstances, the Dashboard user may only be able to view the data, but not edit it (e.g., if the element was linked to a spreadsheet).

Related Topics…

Learn more about: