Setting a Primary Key

You can change the primary key in Data Collection Details or Data View Details. If you do not have a primary key this limits functionality.


Before you begin: You can have multiple primary keys. The primary key is ID by default. By defining this value in the data perspective query, it becomes a primary key. The primary key must have unique values.
  1. From the toolbar, select View.
  2. Do one of the following:
    OptionDescription
    Using Data Collection Details Open Data Collection Details. Select the appropriate data collection. In General, select the Search text field for Primary Key. Select one or more fields.
    Note: Remove a primary key by selecting on the key.
    Data View Details Open Data View Details. Select the appropriate table data view. Select Fields. From the list of fields, select and then click Set as Primary Key for the fields you want as primary keys.
    Note: Remove a primary key by unhighlighting Set as Primary Key.

Result: The column is now visible in Data Collection Details under Primary Key.