The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ScriptRunner - Make the Create Page macro look like a button

Roberta Bortolotti
Contributor
February 6, 2025

Hi all,

I used the Create Page macro by ScriptRunner to create pages using a Template to take advantage of the $increment feature to number my pages.

It is a bit of cosmetics, but does anyone know how to make the hyperlinked text look like a button? Similar to the Create from template macro that embed a button to create a page from a pre-defined template.

Thank you!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Kristian Walker _Adaptavist_
Community Champion
February 7, 2025

Hi Roberta,

Can I clarify you are using Confluence Data Center as the Cloud version does not provide the Create Page Macro.

If you are using the DC version then when configuring the Create Page macro you can set the AUI Class field to have the value aui-button and this will make the macro appear on the page as a button.

You can see further details on what configuration options the Macro accepts in the documentation page located here.

Also you can see further details on what aui-button different values you can provide in the Atlassian documentation page located here.

I hope this information helps.

Regards,

Kristian

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events