Sending out messages

You can specify whether to send out a message, including the built-in message 0001 - Filter, 0002 - Sort, or 0003 - Parameter, or a user defined message when a specific event occurs on a certain object in a library component. The objects from which messages can be sent out include fields in table/crosstab, labels in the content, geographic maps, parameter controls, the Submit button of parameter form controls, and some chart elements (data markers, legend and category axis labels).

To send out a message:

  1. Do one of the following to open the Send Message - Web Action Builder dialog. See the dialog.
  2. Select the message you want to send out from the Message drop-down list.
  3. Define the message as you want.

    For the built in message, you can change the values for the keys in the Value column. To make the condition dynamic, select the values under the Dynamic Key node.

    For a user defined message,

    1. Specify the ID and Name of the message in the ID and Name text boxes. The ID should be a natural number beyond 1000.
    2. Click to add a message key-value line for the user defined message.
    3. In the Key column, specify a key from the drop-down list or select the <Input...> item from the list and then input a key into the text box.
    4. In the Value column, specify the value of the key from the drop-down list or select <Input...> from the list and then input a value into the text box.
    5. If you choose to input the value by yourself in the above step, you need to specify the data type of the value. If the value is selected from the Value drop-down list, the data type of the value is automatically displayed in the Data Type column and cannot be changed.
    6. If necessary, click to add a new message key-value line and specify the key, data type and value respectively.

      To delete a message key-value line, select it and click . To adjust the order of the lines, click or .

    Tip: You can also create a blank user defined message by only specifying the ID and name of the message.

  4. Click the OK button to confirm the settings.
  5. In the dialog you are returned to, add more event lines and repeat the above steps to specify to send out more messages as you want.
  6. When done, click OK to finish defining the messages to send out.

In addition to the above method, another more convenient way to send a message is by using the Send Message command. To do this, right-click a field in a table/crosstab, a label in the content, a parameter control, the Submit button of a parameter form control, a data marker or an category axis label or the legend in a chart in a library component, from which you want to send the message, and select Send Message > Filter/Sort/Parameter/Customize from the shortcut menu (for the Submit button of a parameter form control, only Parameter and Customize are available).