I am building a knowledgebase and each article has its own distinct number. The format is K-0000. There is a requirement from our stakeholders that this number be automatically assigned so our authors don't accidentally assign the same number to multiple kb articles. This number appears in the title and in a table at the top of the article.
Any idea how to accomplish this in Confluence 4.0?
Thank you!
Why don't you want to use PageID for that?
In admin area go to Edit Site Layouts » Page Layout and change page layout in a way that it will show somewhere "K-<Page ID>" page id I guess can be obtain through a helper variable (not sure), need to read some documentation.
We already have 850 articles and people know and refer to them by their number. I don't want to change them now, and I don't want to change the numbering convention...or have gaps in the number if the page ids were used for other spaces.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I see... Thus you might probably want to develop your custom plugin and got the autonumber for pages from a kinda global variable (thread safe, singleton, etc)...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.