IBM Business Monitor, V8.0.1 > Reference > Developing for Monitor dashboard spaces > Overview of widgets

Widget attribute layers

IBM Business Monitor uses layers of attributes to provide superusers, editors, and users with the ability to customize what information a widget displays along with how the widget displays that information.

There are four layers of widget attributes that can define the look of a widget and how that widget displays its information. Each layer is part of a hierarchy, starting with all instances of a widget and progressing down to a particular instance of a widget for a specific user. Each layer represents an opportunity to configure and personalize a particular widget, with the lower levels overriding the values of the higher levels.

The four customization layers are:

Not every widget has all four layers of customization. Some widgets might not have the instance layer or the user layer or they might be disabled for certain types of users such as viewers or editors. For information about the config, edit, and personalize modes, see the

iWidget 2.1 specification.

The following diagram shows the layers of customization for a Stock Tracker widget. It has four attributes: refresh, title, stocks, and alert. The layers set values for these attributes and the results show how the lower layers override the upper layers to personalize the widget for a particular user.

Although values at the lower personalization layers override values at the higher personalizations, they do not replace the values at the higher levels. If a widget has a height of 80 pixels, which the superuser sets at the administration level, and a user changes its height to 70 pixels (at the user level), another user sees the widget with a height of 80 pixels. Additionally, if the superuser then changes the height to 60 pixels, the first user continues to see the widget with a height of 70 pixels because the value at the user level overrides the value at the administration level. However, the second user sees the widget at its new height of 60 pixels because the second user has not personalized the widget and it is getting its height value from the administration level, which changed.

If you are a superuser, try to set attributes at the administration level before making the widget generally available. Once generally available, users might edit settings or personalize the widget and the attributes they change do not pick up changes you subsequently make at the configuration level.

Overview of widgets


Related tasks:
Supporting widget customization and personalization
Create widgets using basic tools
Create widgets using Rational Application Developer