Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Foglight 7.3.0 - 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

Summary

In this tutorial you have been shown how to create Domain, Category, and Question Associations, and to use them to populate a Question Viewer.

Additional activities

After completing this tutorial, consider performing the following activities:

Tutorial 10: Sending Messages to Other Users

Messages inform other users of any activities that may affect them. A message includes the message text and message details. It can also have a severity level to indicate the overall impact of the activity that is about to take place.

The objectives of this tutorial are to introduce Message Associations and Script Functions. Use Message Associations in your application to set the desired message text and details. Script Functions can reference this information to send messages when invoked.

The tasks you complete in this tutorial are:

Creating Message Associations

In this we will create two message associations: Warning Association and Error Association. These associations will have the Warning and Error severity levels, and the related message text and details.

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 Message and click OK.
A New Association tab appears in the Definition/Edit pane with the General tab open.
f
Specify the name for this association. In the Name box, type Warning Association.
a
Open the Configuration tab.
b
In the row containing the Level property, in the Value column, click Edit . Select Data from the list that appears.
c
In the Edit - Name dialog box that appears, in the Name box, navigate to Dashboard Development > Support > Common > Message Levels > Warning.
d
Click Set.
a
On the Configuration tab, in the row containing the Text property, in the Value column, click Edit . Select Localized String from the list that appears.
b
In the Edit - Text dialog box that appears, in the Localized string box, type Warning.
c
Click Set.
a
In the row containing the Details property, in the Value column, click Edit . Select Localized String from the list that appears.
b
In the Edit - Text dialog box that appears, in the Localized string box, type This is a warning message.
c
Click Set.
6
Follow Step 1 through Step 5 to create another Message Association with the following definitions:
Name: Error Association
Level: Data (Message Level: Error)
Text: "Error" for locale "en"
Details: "This is an error message" for locale "en"

The Message Associations are created. The next step of the tutorial is to create a Script Function that takes these Message Associations as input, and send messages when invoked.

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation