Put your short description here; used for first paragraph and abstract.
You can set a preference in a widget's XML to define whether a new sidebar panel is opened for each widget action or whether the same sidebar panel is reopened and overwritten for each action initiated by that widget.
There are two types of actions that add a widget to the client sidebar panel.
- The widget property "Add as a panel on startup." When enabling this option, a sidebar panel is opened in the sidebar for the widget.
- Right click on a widget in the My Widgets sidebar panel and choose Open in -> Panel. Every time this action is executed, a new sidebar panel is opened.
Power uses can add a new "singletonSidebar" attribute to the palleteItem element in the widget's XML definition after creating and exporting the widget. Valid values are "true" and "false" and sample syntax, where it would appear in the widget's XML file, is as follows:
When set to "true" the two actions above will share the same widget sidebar view. When set to "false" the two actions will open in new sidebar views.
The default value is "false".
Parent topic: Creating and publishing widgets