Mindful Datastore – Custom Fields & Objects

Custom fields

The Upsert Data Set method allows you to send a data_values object with the request. This object can contain any number of key and value pairs. To send a key and value pair:

  1. Go to the Edit Connector page for the Mindful Dataset connector.
  2. Under the Methods & Fields heading, find and select the Upsert Data Set method.
  3. Next to the Request Fields heading, select the red plus button.
  4. In the Field Location box, enter data_values.{required key name}.
    For example, data_values.key1.
  5. Enter a suitable Display Name for the field.
  6. Provide a Description for the field if you want to.
  7. Set the Date Type for the field to Text.
  8. Select Create.

The makes the field available in steps that use the Upsert Data Set method. The value you assign to the field is stored and sent in the data_values object against the specified key name. You can repeat this process for any key and value pair you want to add to the data_values object.

Custom objects

The Get Data Set method uses Cyclr custom objects to map possible dataset fields dynamically based on the specified customer contact number.

Set up a custom object

When you set up a custom object it creates a new method category with the parameters you enter. To set up a custom object:

  1. Go to the Mindful Datastore connector Settings page.
  2. Under the Methods and Fields heading, expand the Data Sets category.
  3. Select the red Copy this Category to create a Custom Object Category icon.
  4. Enter the required customer contact number into Specify object name.
  5. Select Copy.

This creates a new custom object category with the specified contact number. You can now run Get Data Set from this category with all dataset fields mapped automatically.