I’m developing a plugin for Bitbucket Server 5.7.1. I’m trying to add a create an admin plugin settings form following this tutorial: https://developer.atlassian.com/server/framework/atlassian-sdk/creating-an-admin-configuration-form/. I’ve created the form and added the following decorators:
<meta name="decorator" content="alt.admin"> <meta name="activeTab" content="checklist-system-settings-menu-item">
checklist-system-settings-menu-item is the ID of the web item that looks like this:
<web-item key="checklist-system-settings-menu-item" name="System Settings Menu Item" section="atl.admin/admin-plugins-section" weight="50"> <label>My Plugin</label> <link>/plugins/servlet/my-plugin/admin</link> <tooltip>My Plugin Global Settings</tooltip> </web-item>
The first problem is that the page is not rendered with the surrounding admin page content, it just looks like a very plain form with a white background. Additionally, resources that I’ve configure to be bundled with this page are also not delivered to the front end. I’ve created other servlets and web items to show custom pages in other contexts in the same application and those work fine. Is there something different about an admin page I should be aware of?