Skip to main content

NIM

Lookup Tables

Lookup Tables are a common tool used in NIM to be able to store data or custom tables that otherwise are not found in your database. These tables can be used in relations and filters through the NIM internal system. There are a couple ways that lookup tables can be created in NIM

Creating a New Table
  1. Go To Configuration > Settings > Lookup Tables

  2. Look for the section titled Tables. Click Add

    LookupTables01.png
  3. Provide a name for the table. Click Add

    LookupTables02.png
Use a Previous CSV File
  1. Follow steps 1 & 2 from Creating a New Table

  2. Check Import File

  3. Click ... and selected a CSV to import

  4. Specify the delimiter for the file, default is comma

  5. If the first row of the file contains column name (header row) then check First line contains column names

    LookupTables03.png
  6. Click Add

Adding a Column

One the table has been imported or created, columns can be added to the new or existing table.

  1. Click on the desired table under Tables section

    LookupTables04.png
  2. Click Add under the Columns section

  3. Give your column a name and then click Add

    LookupTables05.png
  4. At this point, the type of the column can be changed by clicking on the dropdown. By clicking the yellow pencil button, the column can also be renamed. The last section is the Data section which will display the data in the table. Once the table is created with at least one attribute, custom data can be added for the table

Adding a Row of Data
  1. Click on Add under the Data section (An empty row will appear in the Data section)

    LookupTables06.png
  2. Add the data wanted under the desired column

    LookupTables07.png
Adding a Lookup Table to the Internal System
  1. Go to Systems > Internal > Configuration

  2. Under Available tables, check the box for the lookup table that is needing to be added

    LookupTables08.png
  3. Once the boxes are checked and saved, these tables can be used in filters