Create and Manage Lookups

Prev Next

Lookups allow you to create and store a table of contents within Process Automation and Digital Services that can be used to look up and populate data across multiple forms. This new feature requires no custom coding or use of APIs.

You can also still create Dynamic Lookups to query content external to the Process Automation and Digital Services platform using APIs.

Populate Number or Text Elements

When populating elements with content in a Lookup you can choose between two types of content, text and numeric elements. Selecting Text will allow you to populate Text, Multi-line Text, Email, Phone Number, Barcode Scanner, Radio Button, Select, and Autocomplete elements. Selecting Numeric will allow you to populate Number elements. This configuration can be found on the right of your column name.

Table displaying location, value, and distance for Blue Hills Park Trail.

Populating Number elements provides the ability to do calculations, payments, and more advanced conditional logic.

Note:

When switching from Text to Number elements please be aware that if you have cells in the column that are not numbers they will be removed.


Lookup Limitations

  • Supported Element Types: Lookups currently only support text-based and number-based values and content. Meaning elements that are able to be looked up and populated with data include: Text, Multi-line Text, Email, Phone Number, Barcode Scanner, Radio Button, Select, Autocomplete, and Number.

  • Offline: At the moment Lookups are not supported when the user of the form is offline, the lookup requires the user to be connected to a network.


Instructions

  1. Sign in to your site

  2. Navigate to Advanced Tools and select LookupsThe Lookups option under the Advanced Tools navigation menu.

  3. Click the + button in the lower right corner Button to create a new lookup.

  4. Add a Lookup Label and click SaveInput field for entering a new lookup label in a user interface.

  5. Click Edit to start building your lookup User interface showing trails, forms count, and options to delete or edit.

  6. Select the Environment(s) you wish to add the lookup to Lookup options for data population including Blake Test and Google Analytics.

  7. Add content by following the instructions to Upload a CSV, Import Form Elements, Import List Rows, or Manually Add Rows and Elements Interface showing options to import data and add elements in a production environment.

    Note:

    In the Lookup table, the row is the value that the user will be looking up in the form and the column will be the element that will be pre-filled with content.

Upload From CSV

  1. Select Upload from CSV to use a file with pre-built rows and columns Interface showing options for importing data, including 'Upload from CSV' highlighted.

    Note:

    Uploading a CSV will replace any rows or elements that you have already created for the lookup. View a Lookup CSV Example (CSV).

Import Columns from Form Elements

You can use an existing form to populate the columns/elements of the lookup.

  1. Select Import and choose Import form elementsMenu options for importing form elements in Knowledge Management interface.

  2. Select a Form from the dropdown Import elements dialog box with a dropdown to select a form for data import.

  3. Check the boxes next to the elements you wish to add to your Lookup Form elements for a trail cleanup volunteer application, highlighting location and distance fields.

  4. Select ImportThe Import button on the lookup page.

  5. The elements will now show as columns on your lookup Table displaying values for location and distance with options to import and add elements.

  6. You can manually add row values or import rows from lists

Import Rows from Lists

  1. Select Import and choose Import rows from listOptions for importing data, including importing rows from existing lists highlighted.

  2. Select a List from the dropdown Select the List on the Import Rows screen.

    Note:

    Learn how to create a list.

  3. Check the boxes next to the items you wish to include List of park trails with selected options for import displayed in a dialog box.

  4. Click ImportThe Import button on the lookup page.

  5. The list items will now show as rows on your lookup List of park trails with highlighted Value column.

  6. Fill out the element information for each value/row Table displaying park trails, locations, and distances, highlighting E. 53rd Street.

    Note: If your element data is numeric you can click the Set values to be numeric values (123) icon in the top right corner of the column. The Set Values to be Numerica Values icon on a lookup table.

  7. Click SaveThe Save button on the Edit Lookup screen.

  8. You can now add your lookup to a form

Manually Add Rows & Elements

In the Lookup table, the row is the value that the user will be looking up in the form and the column will be the element that will be pre-filled with content.

  1. Click Add Row to start building the table. The Add Row button on a lookup.

  2. Enter a Value (name) for the row and click SaveForm for adding a new row with a highlighted Value field.

    Note:

    Adding a row to the table will allow you to populate corresponding form elements when the value of the row is entered or selected on the Lookup form element.

    • Use clear value: Toggle on if you wish to add a clear value row to populate form elements when a Lookup element is cleared. Only one clear value row per lookup is allowed. The form element option 'run lookup on clear' must be configured.

  3. Click the Element column to update the name Highlighted element named 'New_element_name' in a data table with additional context.

  4. Add an Element name and click SaveEditing the element name field labeled 'Location' in a user interface.

  5. If needed, click Add Element to add additional columns Interface showing options to add elements.

    Note:

    Adding an element to the table will allow that element to be populated with content whenever a user enters or selects the corresponding value on the Lookup form element.

  6. Fill out the element information for the value Location and distance details for Blue Hills Park Trail, highlighting E. 53rd Street.

  7. Add additional rows, as needed Table listing various park trails, their locations, and distances from a reference point.

    Note:

    By default, the columns will be set to text values. Click the 123 icon in the top right corner to change to numeric values. Numeric Values.

  8. You can click Copy to Environment to allow the lookup to be used on forms in other environmentsMenu options for data management including 'Copy to Environment' highlighted.

  9. Once you are finished building your lookup, click SaveThe Save button on the Edit Lookup screen.

  10. You can now add your lookup to a form


Export & Edit Lookup Data in a CSV

You can export a lookup as a CSV, make modifications in Excel or Google Sheets, and then import the changes into the Lookup table.

  1. Navigate to Advanced Tools and select LookupsThe Lookups option under the Advanced Tools navigation menu.

  2. Click Edit next to your lookup User interface showing trails, forms count, and options to delete or edit.

  3. Select Download CSV to export the existing lookup data Interface showing the option to download a CSV.

  4. Edit the CSV as needed by adding additional columns or rows Table listing various park trails, their locations, and distances in miles.

  5. Replace the existing lookup data by uploading your updated CSV Interface showing options for importing data, including 'Upload from CSV' highlighted.


Resources