Examples
Last updated
Last updated
The following examples can be found on this page:
This example demonstrates how to use this Context Provider to return data for all images that contain '007' from the crete Streaming Data Platform stream by specifying the query input using a filter.
Refer to configuration to understand all configuration options of this Agent.
Drag the Streaming Data Platform Context Provider Agent onto the canvas and rename it. Link the output and stats endpoint to printers, and save the Data Stream.
Select the Agent and click Configure. Keep the default Collection and polling interval.
Enter the Connection details of the Streaming Data Platform: base URL, user name, password, stream name, and psearch rest head.
Enter the query input and query. In this case, keep the default query input and enter the filter query 'ImageId contains 007'.
The source columns grid is auto-populated with available columns in the selected stream. You can click '+' to add another column, update the data types, or untick to exclude any columns from the output payload.
Click apply, save the Data Stream, and publish it.
Let's look at the Live Data View. Observe that the crete stream's 007 image data is printed, every 10 seconds.
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.
This example demonstrates how to use this Context Provider to return data for all images that contain '007' from the crete Streaming Data Platform stream by specifying the query input manually.
Refer to configuration to understand all configuration options of this Agent.
Drag the Streaming Data Platform Context Provider Agent onto the canvas and rename it. Link the output and stats endpoint to printers, and save the Data Stream.
Select the Agent and click Configure. Keep the default Collection and polling interval.
Enter the Connection details of the Streaming Data Platform: base URL, user name, password, stream name, and psearch rest head.
Enter the query input and query. In this case, set the query input to manual entry and enter this SDP query:
The source columns grid is auto-populated with available columns in the selected stream. You can click '+' to add another column, update the data types, or untick to exclude any columns from the output payload.
Click apply, save the Data Stream, and publish it.
Let's look at the Live Data View. Observe that the crete stream's 007 image data is printed, every 10 seconds.
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.
File | Link | Security Key |
---|---|---|
File | Link | Security Key |
---|---|---|
Data Stream
C0mp|ex123
Data Stream
C0mp|ex123