Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,053
Community Members
 
Community Events
165
Community Groups

How To Disable Blank Page/SPACE Template in Confluence

How To Disable Blank Page and SPACE Template

 

A lots of organizations do not prefer use of blank pages and SPACE. The option to use them is readily available for all users but there is no built-in functionality to disable the quick page create option and Blank SPACE template use.

 

How-To

 

  1. Disable quick page create from Menu

 

           Insert the following code snippet in the Custom HTML

           <script type="text/javascript">
                             AJS.toInit(function(){
                             AJS.$('#quick-create-page-button').hide();
                             AJS.$('#create-page-button > span.aui-iconfont-more').removeClass("aui-icon aui-icon-small aui-iconfont-more");
});
          </script>

 

       2. Disable the system module for " Creating Blank Page "

 

curl --user "username:password" --location --request PUT '<baseurl>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-create-content-plugin-key/modules/create-blank-page-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
"enabled": false
}'

Here , plugin key : com.atlassian.confluence.plugins.confluence-create-content-plugin

and module key : create-blank-page

 

       3. Disable the system module for " Creating Blank SPACE "

 

curl --user "username:password" --location --request PUT '<baseurl>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-create-content-plugin-key/modules/create-blank-space-item-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
"enabled": false
}'

 

Here , plugin key : com.atlassian.confluence.plugins.confluence-create-content-plugin

and module key : create-blank-space-item

 

1 comment

G subramanyam Community Leader Jun 15, 2022

Thank you for sharing this insightful steps @Vickey Palzor Lepcha 

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you