Chatee ahora con Soporte
Chat con el soporte

Foglight 5.9.8 - Web Component Tutorial

Using the Web Component Tutorial Tutorial 1: Drag and Drop Tutorial 2: Creating a Dashboard Tutorial 3: Adding a Drilldown Page Tutorial 4: Adding Views Tutorial 5: Using a Grid Tutorial 6: Reports Tutorial 7: Creating a Form Tutorial 8: Renderers Tutorial 9: Adding Questions and Answers Tutorial 10: Sending Messages to Other Users

About Category Associations

You assign one or more categories to your questions. Categories create sub-groups and help users navigate a set of questions.

You use Category Associations to group related questions within the context of a domain. For example, in this tutorial you create two categories, CPU and Memory, for questions related to a host’s CPU and memory utilization, which allow you to organize questions within your broader Host Domain.

About Question Viewers

Question Viewers display a list of questions, sorted by category, and the answer for a selected question. A Question Viewer must point to a domain which enables the viewer to retrieve the questions associated with the domain. The Question Viewer also must any have context input that satisfies all of the views that contain the answers

Building Associations for Your Question Viewer

Follow the instructions below to create the three types of Associations your Host Question Viewer will use: Domain, Question, and Category. In this example, the Domain Association, Host, has two categories of questions, CPU and Memory, with one question-answer pair in each, as illustrated below. The answers are linked to basic chart views defined in the Host module, Host Memory Utilization and CPU Utilization, that take a Host object as input. For that reason, the Question Association components, CPU Utilization and Memory Utilization, need to take a Host object as context input.

In addition to the component name, the Domain Association, Host, and the two Category Associations, CPU and Memory, require configuring two properties: Display Name and Canonical Name. You will use these properties in the Question Associations to point to the domain. The Question Associations, CPU Utilization and Memory Utilization are slightly more complex in that they need include references to the Domain and Category Associations, and the views that provide answers to the questions. They also need to include context input (a single Host object in this example) for the views they reference.

The following diagram illustrates the hierarchy between the associations and views and the overall structure that you are about to create.

Table 1. Domain Association Host
Question Association CPU Consumption

Question Association Memory Utilization

Creating a Domain

In this , you create a Domain Association, Host. In addition to the component name, the Host domain requires a display name and a canonical name. The display name is the domain name that appears in the browser interface. The canonical name is used for grouping and matching. You will use the canonical name later in this tutorial to associate this domain with the Question Viewer and the mini-viewer.

a
On the navigation panel, under Dashboards, choose Configuration > Definitions.
c
In the Module Contents pane, click Views and select Associations from the list that appears.
e
In the Add Association dialog box that appears, select Domain and click OK.
A New Association tab appears in the Definition/Edit pane with the General tab open.
a
Open the Configuration tab.
b
In the row containing the Display Name property, click the Value column and select Set to String from the list that appears.
c
In the Edit - Display Name dialog box that appears, in the String Value box, type Host.
d
Click Set.
a
On the Configuration tab, in the row containing the Canonical Name property, in the Value column, click Edit , and select Set to String from the list that appears.
b
In the Edit - Display Name dialog box that appears, in the String Value box, type myHostDomain.
c
Click Set.
4
On the New Association tab, in the top-left corner, click Save.
Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación