Need detailed documentation on all createpage*.action functions Edited

Hi

I'd like to write a macro that creates a page from a template and adds a dynamically generated label.

Now I know that "createpage.Action" uses "labelsString" and adds a label to the new page, but it ignores "templateId". The opposite if I use "createpage-entervariables.Action". In this case, "templateId" is used and the site uses the given template, but "labelsString" is ignored.

Adding the label to the template is not an option, because the label is one part fixed text (moderated_by_) and another part dynamically generated with "$Action.remoteUser.Name".

Is there a more detailed documentation about that or even better: How can I create a page from a given template and add automatically the label with this Information?

Thanks and best regards

NKS

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

921 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you