Context Data

Configure what fields are to be sent from your Org to the IoT Cloud.

Easily Sync Salesforce Data (related to the Thing Object) to the IoT Cloud and Edge Gateway. This Context data can be used in Calculations and Alert Conditions (by using the context group - e.g. context.someField == 'Gold'), to enhance and provide flexibility in your Thing-Type Specifications.

All Context fields are synced on a schedule, or can be manually synced for special cases and troubleshooting.

Context Data Settings

Context Data Settings

Global Context Fields

Global Context Fields are synced for all Things, regardless of their Thing-Type.

  1. Select New.

  2. In the new row, select Global Settings from the dropdown.

  3. Define the reader friendly Label for the field.

  4. Define the Field Name to use in calculations and alerts.

  5. Select the Object field to associate with this Context field.

Thing-Type Context Fields

Thing-Type Context Fields are only synced for Things which match the Thing-Type specified.

Steps for Thing-Type Context Fields are the same as for Global Context fields, except Step 2: select the desired Thing-Type from the drop down in place of Global Settings.

Context Synchronization

The sync schedule for the Context fields is managed in the lower section of the Context Data settings page.

  1. If an existing schedule has already been configured, select Disable prior to configuring the new schedule.
  2. In the Schedule drop-down menu, select the desired frequency.
  3. Enter the appropriate value in the At field.
    • Hourly: Define how many minutes past the hour to run the sync.
    • Daily: Define the time of day.
    • Weekly: Define the day of the week and time of day.
    • Monthly: Define which day of the month and the time of day.
  4. Select Enable.

Remove Context Field

  1. Select the link under the Custom Metadata Record column.
  2. Select the Delete button toward the top of the metadata record.
Last modified November 8, 2023: Absolute Image paths for all-content (7aa8323)