Is there an available addon or a macro I'm missing in order to popup a calendar screen, then choose the date being input onto the page?

Creating a new meeting agenda template where when the page is created, you click the "DATE" field, select the date of the meeting, then continue to build the agenda.

Thanks!

3 answers

1 accepted

If you are plannning to create a customized template, include this in your form (soy Template) , highlighted in bold. Then create a blueprint that accepts this value and then pass this on to the page created by the blueprint.

<div class="field-group">

<label for="some-date">{getText('some.blueprint.wizard.form.label.date')}</label>

<input id="some-date" class="datepicker-field date-field text" type="text" name="date" size="10" autocomplete="off">

</div>

More on creating blueprints here : https://developer.atlassian.com/display/CONFDEV/Confluence+Blueprints

Be sure to check out the child pages of the above link for more complex examples.

38 votes

Hi Sean,

As far as I know, if you just type double forward slash inside a page, "//", it should bring a date picker in the latest versions of confluence.

This is bundled with the application :)

Cheers,

Rodrigo

Thanks!!! This works like charm.. Hidden Feature :-)

Is this documented anywhere? I wonder what other similar tricks I might be missing out on.

It does the Date but not the time. Would be nice to have an option to add the time as well.

That was so quick

 

Thanks,

CJ 

Thanks @Rodrigo Adami!

@Rodrigo Adami  is there a way to enter the time as well?

Thanks

Nancy Lopez Atlassian Team Mar 20, 2018

The // spec is listed here under the Date Picker design docs: 

https://atlassian.design/server/components/date-picker/

Time to change the accepted answer to the one with 27 upvotes.

But is there a way for the Date Picker to be used without going into Edit mode?

Casey, do you want to change date without editing the page? If yes, take a look at Handy Macros add-on, it has Handy Date tool that makes date macros editable while viewing the page.

Yes, that seems to be just another add-on we have to purchase for such a simple functionality.  We are limited on how much we are willing to spend on making Confluence become user friendly without spending.

I was hoping for an affordable option.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

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...

2,811 views 26 10
Join discussion

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