Global default settings for Operations Center portlets can be modified by editing the /OperationsCenter_Dashboard_install_path/server/webapps/ManagedObjectsPortlets/WEB-INF/data/globals.xml file.
Default settings can be made per user basis by making a copy of globals.xml file and renaming it as username_globals.xml, and saving it in the same directory. Username_globals.xml file settings apply only to portlets added to a page by the specified user.
In the XML declarations, each portlet is made up of a set of portlet components where each value has an explanation and in brackets shows the accepted values. For example, in the globals.xml file, the following code snippet shows default height and width declarations for Alarm listings.
<component> <name>alarms</name> <preferences> <entry> <string>width</string> <string>400</string> </entry> <entry> <string>height</string> <string>300</string> </entry> </preferences> </component>
Table 3-1 shows default properties that can be set for portlets in the globals.xml file.
Table 3-1 Default Preferences for Portlets
XML Component Name |
Description |
---|---|
layout |
Defaults for layout diagrams. Preference declarations include:
|
alarms |
Defaults for all alarms listings. Preference declarations include:
|
elementselector |
Default element for single element portlets. Preference declarations include:
|
elementsselector |
Default elements for multi-element portlets. If this option is not active, then the list of elements is populated with all of the home elements for the logged in user. If the user does not have a home element, than an empty list is displayed. Preference declarations include:
|
navigation |
Default element for all portlets displaying an element navigation tree. There are no preference declarations made by default. |
performance |
Defaults for all performance chart portlets. Preference declarations include:
|
propertiestable |
Defaults for all element properties tables. Preference declarations include:
For each item declaration contained in propertyList, specify propertyListItem structures with the following definitions:
|