Configuring Optional and Advanced Tasks for External Content Integration
First Published: August 2, 2012
This module describes some of the optional and advanced tasks that you can perform for External Content Integration in Cisco StadiumVision Director.
This module includes the following topics:
•Disabling the Data Source Configuration
•Deactivating the External Content Integration Application From the Management Dashboard
•Viewing Sample Data Versus Real-Time Data
•Modifying the Output Format of a Statistic
Disabling the Data Source Configuration
To disable the data source configuration, complete the following steps:
Step 1 In the left pane, select the GSIS data source type.
Step 2 Click the Configuration tab.
The configuration for the selected data source appears in the right pane.
Step 3 At the top of the pane, select the Enabled checkbox so that the checkmark is removed and the box is empty.
Step 4 Click Save.
A message box appears asking you to restart the application.
Step 5 If you have completed all of the changes that you want to make on the Configuration tab, restart the application.
For more information, see the "Restarting the External Content Integration Application" section.
Deactivating the External Content Integration Application From the Management Dashboard
By default, the External Content Integration Application is deactivated in Cisco StadiumVision Director.
If you have activated the application, but your site is no longer going to connect to any external servers, then you can deactivate it to disable the functionality of the application system-wide in Cisco StadiumVision Director.
To deactivate the External Content Integration application, complete the following steps:
Step 1 Log into Cisco StadiumVision Director as an administrator.
Step 2 From the Cisco StadiumVision Director main menu, click Management Dashboard.
Step 3 Using the Management Dashboard drawers, go to Tools > Settings > External Content Integration.
Step 4 Select Deactivate Application.
Step 5 Click the Play button to run the command.
Step 6 When the confirmation message box appears, click Ok to run the command.
Step 7 After the processing has completed, select Restart Application and click the Play button.
Step 8 When the confirmation message box appears, click Ok to run the command.
The deactivation of the application will be completed.
Viewing Sample Data Versus Real-Time Data
The External Content Integration feature supports viewing of both sample data and real-time data in the Field Mapping tab of the user interface. Figure 1 shows where each of these View data options are specified.
Figure 1 Selection of Sample Data v. Real-Time Data for External Content Integration
The External Content Integration feature ships with sample data for the different statistics that are available for selection. The user interface automatically displays these sample values for the statistics in the Sample data column of the Field mapping tab.
Figure 2 shows the sample data for the different statistics that are available from the NFL Game Clock data source.
Figure 2 Sample Data for the NFL Game Clock Data Source
Notice that the View data option is not selected. You also can select the View data box on the Field mapping tab when you want to see the collective sample data for all of the statistics nested under a selected Input field.
Figure 3 shows an example of the display of sample data using the View data option for the CumeStatHeader Input field of the CumulativeStatisticsFile for the NFL GSIS Statistics data source.
Figure 3 Sample Data for the CumeStatHeader Input Field
To see real-time data in the interface for the selected statistics, select the View data checkbox on the right side of the Field mapping tab in the Output fields panel as shown in Figure 1. For more information, see the "Verifying Receipt of Real-Time Data" section.
Modifying the Output Format of a Statistic
You can use the default format and value of a mapped statistic for output using the default "Pass through input field" option, or you can modify its characteristics for display.
The following types of actions can be taken on input field data:
•Change the output field name.
•Add a character string as a prefix or suffix to the input field value.
For example, if the default input value for an input field called Period1 was a numeric value "1," you could specify "st" in the suffix box so that the input field value is appended with this string and appears in the output as "1st."
•Find an image from the content library to display in the widget. An image can be located using the image name (such as "Image1.png"), either as part of the value of the input field or as an explicit reference in the text box. If you are locating the image as part of the input field, be sure to select the "Lookup by input field reference" checkbox.
•Modify the default XPath expression using an expression editor. Currently, the two functions supported are "lookup" and "concat."
For example, if the default input value for an input field called Period1 has a numeric value "1," you can locate an image, "1.png," to represent the first half of a soccer game and use the expression editor to build an expression as follows:
fn:lookupContent(fn:concat(/SoccerGameSource/ScoringSummary/@Period1, '.png'))
This editing can be done either when you first add a statistic to the Output fields panel (in the Add Output field dialog box), or later if you edit the statistic from the Output fields panel (in the Edit Output field dialog box) as shown in Figure 4.
Figure 4 Change Output Field Dialog Box