XPages Tip: Adding Custom Controls to a Separate Drawer in the Controls Palette
When looking at the Controls Palette in Domino Designer, there is a ‘Custom Controls’ drawer that is automatically populated with all custom controls in the current application. In this post, I’ll show how you can better organize your custom controls by displaying them in additional drawers.
The Custom Controls Drawer
Here’s an example: in this test database I have 5 custom controls. They are automatically added to the ‘Custom Controls’ drawer in the Controls Palette.
Creating a New Drawer in the Controls Palette
If you want to organize one or more custom controls into a separate drawer, you can set the Category property on the custom control’s properties panel.
Now, this custom control will be displayed separately in the controls palette.
If you have a large application with a lot of elements, this feature can be helpful in keeping groups of controls together. One great way to use it is to group related controls that are all required together to implement a feature so it’s easy to tell what you need to add to a page in order to make it work.