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
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
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still looking here too 🥲
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.