NIM

Create, edit, or remove a JavaScript column
Create a JavaScript column
  1. Expand a system's table list.

    uuid-d43cc1d5-f59a-c136-be65-3b9a503ac431.png
  2. Go to the relevant table.

  3. Go to the Columns tab.

  4. Click Add.

    2021-07-14_14-18-07.png
  5. Enter a Column Name.

  6. Enter your JavaScript in the Code pane.

  7. Optional: Click a 2021-05-19_11-01-11.png Green Arrow to insert a column variable into the current cursor position in the Code pane.

    Note

    Column variables are accessed using non-standard JavaScript notation, in the format tableName['variableName']. For example, employees['employee_id'].

  8. Optional: Click Insert a JavaScript Function to insert hash functions or Vault queries.

  9. Click Test Script to execute your JavaScript code.

    The result appears in the Script Result Value field.

    2021-05-19_11-06-08.png
  10. Click Save and Exit.

  1. Expand a system's table list.

    uuid-d43cc1d5-f59a-c136-be65-3b9a503ac431.png
  2. Go to the relevant table.

  3. Go to the Columns tab.

  4. Click edit-table-column.png Edit Column for the relevant column.

    2021-07-19_10-57-32.png
  5. Continue by following the steps in Create a JavaScript column.

  1. Expand a system's table list.

    uuid-d43cc1d5-f59a-c136-be65-3b9a503ac431.png
  2. Go to the relevant table.

  3. Go to the Columns tab.

  4. Click delete-column.png Remove Column for the relevant column.

    2021-07-19_10-57-32.png
  5. Click Yes.

  6. Click Save.