Setting the MaxMessageCount User Preference
Configuring the MaxMessageCount user preference sets the maximum number of active messages that Siebel Server will process at a time. The purpose of setting MaxMessageCount is to control the number of active messages that users will see in their Notification pane. By limiting the number of messages appearing in the Notification pane, you avoid any slow performance caused by the processing of large volumes of messages.
Provided MaxMessageCount is configured and the Enable Broadcast Cache parameter is set to TRUE, then the counter beside the Notification button (exclamation mark icon) on the application toolbar will be any number less than or equal to MaxMessageCount. The counter indicates the number of active messages that are waiting to be read. Click the Notification button to open the Notification pane where you can read the messages. As you open, read, and then close messages, the counter decreases accordingly.
The following table describes what happens when MaxMessageCount and Enable Broadcast Cache are configured (or not, as the case may be).
Enable Message Broadcast Cache Value |
MaxMessageCount Value |
Comments |
---|---|---|
|
|
If |
|
MaxMessageCount is not set. |
If |
|
|
If |
|
MaxMessageCount is not set. |
If |
The following procedure shows how to configure MaxMessageCount for a business component and applet in Siebel Tools/Web Tools.
To configure MaxMessageCount
-
Create a new or open an existing workspace.
-
Click Business Component in the Object Explorer and then query for the "User Preferences" business component.
-
Click Field (under Business Component) and then add a new field with the values shown in the following table.
This table describes the values to set for the new field. Field
Value
Name
MessageBroadcasting/MaxMessageCount
Type
DTYPE_INTEGER
Predefault Value
“100”
-
Click Applet in the Object Explorer and then query for "User Profile Message Broadcasting Applet".
For mobile applications, query for "User Profile Message Broadcasting Applet - Mobile".
-
Click Control (under Applet) and then add a new control with the following values:
This table describes the values to set for the new control. Field
Value
Name
MessageBroadcasting/MaxMessageCount
Field
MessageBroadcasting/MaxMessageCount
Caption
Maximum Message Count
HTML Type
Field
Runtime
Y
-
Click Applet Web Template (under Applet) and then click Edit (the pencil icon) to open the Edit Web Layout view.
-
Select the
MessageBroadcasting/MaxMessageCount
control and move it into the Web layout window. -
Deliver the workspace with the new repository change into MAIN.