Forums

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

Create from Template Button - Add Timestamp to Title

Emily Berg
Contributor
October 18, 2021

Hello Community!

I have a "Create from template" button and on each click, I would like the title of the page to be unique.  I have added the date to the title, using the @currentDate reference (showing as yyyy-mm-dd), but the title would have to be edited if multiple pages were created on the same day.  I have tried @currentTime, etc. with no luck!

Is there a way to add a timestamp or some other indexing function to the title?

Thanks!

Emily

1 answer

0 votes
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2021

Hi @Emily Berg Using the inbuilt functionality provided by 'Create from Template' macro, it is not possible to add a timestamp in the page title - You can include @currentDate, @spaceName and @spaceKey variables in the title.

There are some paid third party plugins which can help in generating page titles with a date timestamp eg: Linking for Confluence where in you can customize the page title to your liking, refer steps on this link

Erik Boelen
Contributor
July 19, 2022

In the server version, we created a User Macro that used the variable "$title" that we included in the template.

So we "Create from template", fill in the variable "$title" and created the new page; this created a page with title: @currentDate - $title

Unfortunately, Confluence Cloud doesn't allow User Macros :(

So I am also still looking for a way to create a unique page from a template, since you can't use the template twice on the same day...

Like 3 people like this
Vijay Iyer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 25, 2024

Still looking here too 🥲

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events