Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding a custom button to the system.space.tools-area

Marcel Hunfeld February 15, 2019

Hello, 
I want to add a custom button to the space tools area using the web-item module to customize my confluence plugin. Therefore I tried to follow this  tutorial, but changed the section to just system.space.tools. 

 

    <web-item key="space-admin-quick-link-manager" name="Quick Link Manager in Space Admin" section="system.space.tools" weight="100">
        <label key="space.admin.quick.link.manager" />
        <link linkId="space-admin-quick-link-manager-id">/plugins/${project.artifactId}/add-link.action?key=$generalUtil.urlEncode($helper.spaceKey)</link>
        <conditions type="AND">
            <condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.SpacePermissionCondition">
                <param name="permission">administer</param>
            </condition>
                    <condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.SpaceSidebarCondition"/>
        </conditions>
    </web-item>

 

But unfortunately, my Button won't appear, nor do I get an error or something. 

Has anyone tried something similar in the past? 

Thanks for your help in advance! 

1 answer

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2019

Some observations:

  • Not all menu locations are extensible. I saw a list someplace but cannot find it now.
  • Did you try the tutorial as is? Did it work?
  • The tutorial says it applies to Confluence 5.x. Not clear if it is applicable to 6.x.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events