Displaying BusinessEvents Project Entities in LiveView Web

TIBCO LiveView Web Dashboard is used to showcase various visualizations based on the data sent from TIBCO BusinessEvents.

Based on the project configuration, BusinessEvents generates an Live DataMart project, containing LiveView configuration files (that is, Live DataMart Tables) corresponding to BusinessEvents entities (concepts, events, or metrics). The id of the entities is used as primary key for these Live DataMart tables. TIBCO LiveView Web dashboard then uses data from the Live DataMart tables, and based on the visualization setup, displays the project metrics in different charts.

Prerequisites

  • Install TIBCO Live Datamart. Refer to TIBCO Live Datamart documentation on how to install TIBCO Live Datamart.
  • Download TIBCO LiveView Web and setup LiveView Web with Live Datamart. Refer to the TIBCO LiveView Web documentation on how to setup LiveView Web for a project or for all projects in the Live DataMart server.

Procedure

  1. In the BusinessEvents Studio, add the LiveView agent class to the BusinessEvents project CDD.
    You can configure the LiveView agent class in the BusinessEvents project for Live Datamart server connection. Refer TIBCO BusinessEvents Configuration Guide for more details.
    Note: Ensure that in the CDD file, under the Cluster tab the Store Properties As Individual Fields check box is selected for the Object Management: [Cache] configuration. If this check box is not selected then the values for fields with contained and reference concepts are set to null, while others are set as expected.
  2. Save the project.
  3. If the Generate LiveView Files check box is selected for the LiveView agent, the LiveView configuration (.lvconf) files for the project are generated on saving the CDD file. Alternatively, generate the LiveView configuration (.lvconf) files for the project using the studio-tools utility.
  4. Start the TIBCO Live DataMart server with the location of the generated LiveView configuration files for the project.
    Refer to the TIBCO Live Datamart documentation for more details on how the run the project.
  5. Start the BusinessEvents engine with the BusinessEvents project configured for LiveView.
  6. Open the LiveView Web URL (such as, http://localhost:10080/lvweb) to view the LiveView Web UI.

    If an ACL is configured, there will be an authenticated login else, you are directly taken to the dashboard.

  7. In the dashboard, you can create a page and card, while adding various visualization, aggregation, and alerts over the LiveView tables.
    Refer to the TIBCO LiveView Web documentation for more details.
    The following image shows the sample dashboard created in LiveView Web for the bundled example FraudDetectionLiveView:
    LiveView Web Sample Dashboard