Example

An example Data Stream that demonstrates how to use this Context Provider to return contextual data through an ODBC DSN.

Refer to configuration to understand all configuration options of this Agent.

Drag the ODBC Context Provider Agent onto the canvas, link the output endpoint to the printer. Save the Data Stream.

Select the Agent and click Configure.

Set the polling interval to 5. Enter the DSN and database name of the ODBC instance.

Set the table to city. Add a filter of 'country_id equals 2' and limit the rows returned to 10. Sort by ascending id.

Click Apply and Save the Data Stream.

Click Publish.

Click Live View to view the output of the Agent. Every 5 seconds, the 10 cities of country 2 with the lowest id are printed.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated