I have a plugin with a link the atl.admin/admin-plugins-section section, but when on the admin page, the link is not set as active (bolded). How do I set the activeTab (or other metadata) so that this link shows as active when selected?
Soy Template
<head> <meta name="decorator" content="atl.admin"> <meta name="activeTab" content="reminder-config-panel"> <title>Pull Request Reminder Settings</title> </head>
atlassian-plugin.xml
<web-item name="Pull Request Reminder" key="reminder-config-panel" section="atl.admin/admin-plugins-section" weight="30"> <description>Pull request reminder configuration.</description> <tooltip key="reminder-config-tooltip">Configure the pull request reminder plugin.</tooltip> <label key="reminder-config-label">Pull Request Reminder</label> <link linkId="reminder-config-link">/plugins/servlet/reminderconfig</link> </web-item>
Community moderators have prevented the ability to post new answers.
Hi Jeff,
You might want to rename 'activeTab' to 'admin.active.tab':
<meta name="admin.active.tab" content="reminder-config-panel">
Cheers,
Charles
Thank you! That did the trick. I have been searching for a while and missed the previous answer for this question.
Is there any documentation for metadata that is optional? I see documentation for Plugin Decorators, but it just listed the required values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
Not that I know of. I believe most of the time activeTab is what you want, except for the admin section. I'll try to update that page for the next release.
Cheers,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.