Show TOC

Example: Attaching an Object to a CacheLocate this document in the navigation structure

Attach a dashboard table object to a previously created cache.

Context

You cannot directly connect dashboard objects to streams that make updates or deletes against keyed entries. Connect a cache to the stream, then connect the object to the cache.

Attach any object to streams, either directly or through caches, by setting the object's value property under the Data heading in the Object Properties pane. For a table object, this property is called valueTable.

In this example, first attach a table to a dashboard, then use the valueTable property to attach the table to a previously created cache that connects to the Event Stream Processor project stream.

Procedure

  1. From the Tables tab in the Object Palette, select a table, then click the canvas to add the table object to the dashboard.
  2. Import the cache to the dashboard project:
    1. Select Start of the navigation path Tools Next navigation step Options Next navigation step Caches End of the navigation path.
    2. Click Add and select the cache.
    3. Click Apply, then OK.
  3. Right-click the valueTable property of the table object, and go to Start of the navigation path Attach To Data Next navigation step Cache End of the navigation path.
    This opens a dialog box to configure the datasource.
  4. Choose the cache from step 2.
  5. Choose Current in the Table field and select the columns you want to view.
  6. (Optional) Select Filter Rows to Basic or Advanced to view a subset of the data.
  7. Click Apply, then OK.