Sometimes situations arises when we want to add our custom made plugin portlet to Liferay Control Panel.
To do so we need to made some entries in liferay-portlet.xml . These are as follows-
1. control-panel-entry-category: It spefies the 'category' where your portlet will appear.
2. control-panel-entry-weight: weight determines the position among the other portlet listed in that category.
3. control-panel-entry-class: The name of a class that implements the ControlPanelEntry interface.
It’s not necessary to specify the class but depends on our requirement.
Here is an example-
<control-panel-entry-category>content</control-panel-entry-category>
<control-panel-entry-weight>100</control-panel-entry-weight>
NOTE- Make sure you provide a unique weight for your plugin portlet otherwise any liferay out of the box portlet with the same weight will override your portlet.