Is there a way to create a Page with a unique Page title e.g. "Project: " & 10001? For every new page this number will increment.
I am currently a Space Administrator for a single space that i have created. But I am unable to create User macros. There does not seem to be any option. I can only add the built-in HTML macro.
Can anyone help quickly?
Natively, no, the page title is just a string, given by the user, there's no way to inject something in there even with a template.
You could use some code that could re-write the page title as it is saved, I think, but you'll need an add-on to do it, but you might find it struggles with the uniqueness and incrementing if pages are saved at similar times.
I'd be tempted to just use the page ID - that's immutable, numeric and increments as you create new pages, and can be used to jump straight to a page in a url.
I've never done it in a template. Never had any need for it. The one time I was asked for something like this, the actual problem the users were trying to solve with numbering was easily and better solved by using Confluence functionality that they were unaware of.
I know the page id is available to pages, as I've written user macros (to help with debugging) that can display the id of the current page. However, I don't think it's available in a template or page create, because the ID is not allocated until the page is created.
Does it put a unique page number automatically in the Title when a Page is created? Currently i donot see it, except for Page Tree macro.
Say, If i place a 'Create Page' button on a Main page and click it to create Child pages, will the pages be titled with unique numbers? Where do i need to insert the Page Tree creator macro?
About the unique page number:
We could also schedule a screen sharing meeting. We could explain everything in detail about how it works.
Yes, of course. Can you send me an email with a suggestion for an appointment (firstname.lastname@example.org)?
You can test the functionality under the following link: https://focuspro.eps.ch/display/PEPSMarktExample?&pagepropertiesreport.
In addition to the sequential number, months are also entered here. Of course, it is also possible to configure only the number.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
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!
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