Select data using lookups | Flowfinity Knowledge Base

Select data using lookups

Selectable lists come in a number of different formats, including radio buttons, checkboxes, and drop-down lists. These lists are useful when they contain a fixed number of items that very rarely changes.

In cases where you anticipate the list data to change, a separate application and a lookup field can allow you to manage selectable items that change more often such as customer, product or parts lists. By storing this reference data in a separate application, you can maintain it separately either manually, through csv import/export, or with automated integration with your existing backend system such as a CRM or ERP system.

Example

A consumer goods brand introduces new products on a regular cycle, and sometimes stops selling old products. Store auditors that report on the distribution and presentation of products in the store report exceptions, and the products associated with these exceptions. These auditors need to be able to select from an up-to-date list that is maintained by other users.

Instructions

  1. Create a new application for the products list called 'Products List'
  2. Create the necessary fields to describe your products
    Flowfinity - Select Data Using Lookups
  3. In the Views tab, create a new View called 'Product Lookup'
  4. Add columns the user should see when viewing the list of items into the 'Selected Fields' box
    Flowfinity - Select Data Using Lookups
  5. Click on the 'Lookups' tab, and check the checkbox to allow other apps to lookup records from this view
    Flowfinity - Select Data Using Lookups
  6. In the 'Display' dropdown, select the field that the user should see when they have made a selection (e.g., Description). You can make multiple fields available for export by clicking 'Export Another Field'. For more information, read the article Prefill Entry and Selection Fields in Forms.
  7. Save the view
  8. In the Operations section, create any operations an administrator needs to manage the list (eg. Import Merge), or use the default operations for list management.
    Flowfinity - Select Data Using Lookups
  9. Publish the Products List application
  10. Return to the Configure tab to customize the application that will be used to lookup data from this list.
  11. In your main application (e.g., Store Audits), create a new field, with the field type 'Lookup Field'
  12. Using the 'Parent App' dropdown, select the 'Products List' application
  13. Using the 'Lookup View' dropdown, select the 'Product Lookup' view
    Flowfinity - Select Data Using Lookups
  14. You have the option to either keep your records unchanged when the reference list data changes, or use the 'Synchronize display value' and 'Synchronize exported values' checkboxes to update all previous records when your list data is updated. 'Synchronize display value' updates the value that the user selected. 'Synchronize exported values' updates any additional fields that were copied through the lookup.