i'm new to confluence and node.js so please excuse my lack of knowledge.
So my question is, is it possible (with a selfmade macro for example) to automatically give every new site an ongoing number in the title / in the content area? We use Confluence as Cloud service.
So it looks like this: Example
I could use the page id as a serial number - it's unique and can be used to construct a url to view or edit the page. Or the string in the "short url" link.
On server you can write a user macro that exposes either of these in the page, but on Cloud you can't write user macros. You'll just have to read the "page information" to get them (the page id is in the url, the tiny macro in a field)
Sorry for the delay, bit behind at the moment.
Yes, the doc you have found is for writing apps for Cloud, which should be able to do this. I mentioned "user macros" which Cloud users cannot write for themselves.
I'm afraid I don't know about coding for Cloud like this, I've only ever written for Server Confluence and only a very light touch Jira Cloud.
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events