I want to assign an id to every knowledge article created. As I dont want to do it manually, I was hoping to have the actual relevant article id displayed on the page itself.
How can this be done?
I use a bit of javascript in the Custom HTML section of Confluence to add this effect –
image2016-3-21 1:9:59.png
You could extend it to add the Page ID.
<script> AJS.toInit(function(){ var pageIdentifier = ", page ID " + AJS.Meta.get('page-id'); AJS.$('.last-modified').append(pageIdentifier); }); </script>
How would you want this displayed? Are you on Confluence Server or Confluence Cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Every page within confluence is assigned a page ID. You can see this when you edit an article, are in attachment or page information view (under Tools menu). It appears at the end of the URL in the form "pageId=1146905". Would this page ID work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Thanks for the inputs. I'm looking for the page id to be displayed quite visibly near the title so that it can be easily picked up/viewed/searched.
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.