Duplicating How-to article
Asked by Barry O'Reilly:

Hi,

Very new to confluence. I like the how-to articles but I want to be able to have multiple how-to articles. I can copy the How-to articles page and it works but pressing the "add how-to article" button adds a label of "kb-how-to-article" so all the newly created articles will still show in the original how-to report table.

Where can I edit this default label?

I could use different spaces for each of the topics but I want everything to be in the one level.

I've been going through the blueprints and templates but can't figure it out just yet. Hoping someone can point me in the right direction.

Thanks

Barry


Answers:
author: Patrick Cartier [Candylio]
body: Please correct me if I am wrong but I believe the goal here is to have the how-to articles NOT show up in the how-to report table.

If this is the case you can simply remove the label "kb-how-to-article" at the bottom of the page you would like removed from the table. You can do this as long as you have the edit permission.

Please let me know if this is not the case and I can dig deeper.

comments: author: Barry O'Reilly
body: Hi Patrick, sorry probably not very clear. When I log in to Confluence and into our main space it has a how-to article heading with articles nested underneath it. I want to be able to re-create how this is done and have more headings with sub articles. I know I can recreate parts of this but the functionality of the how-to article with the button is really nice.

Pressing the button somehow tags the articles with the "kb-how-to-article" tag. I was thinking of copying it but add a new tag somehow and a report table to display those articles with lets say "kb-how-to-article-provisioning", "kb-how-to-article-technical" etc.

It's got the better of me though :P


author: Patrick Cartier [Candylio]
body: Aha! You can just copy this exact page format for different headings on the same or different page.

One heading for "provisioning", "technical" etc. Then use the content report table macro to display the right information depending on the label you use.

<https://confluence.atlassian.com/doc/content-report-table-macro-317194676.html>

Furthermore if you want to make it really easy on your users you can create a custom template for each type of how-to article and add a button (create from template):

<https://confluence.atlassian.com/doc/create-from-template-macro-317196995.html>

just like on the "how-to articles page" so depending on the type of how-to article they want to create a page will be made with the correct label automatically.

As long as each page has a unique label they should show up in the relevant table.

Hopefully this helps!


author: Barry O'Reilly
body: Hi Patrick, thanks for helping.. Had come across these articles alright and went back trying to work it but i'm struggling with that button as it somehow tags the article it creates with "kb-how-to-article tag" by default. I can't figure out how to change that default tag to another custom tag, might be missing something really simple here :P

I can add custom tags and then use the content report table to display only these tags.


author: Patrick Cartier [Candylio]
body: If the "create from template" button is using any Confluence out-of-the-box templates such as the 'how-to article template' then you cannot change the labels that it is using. There is a feature request for that now:

<https://jira.atlassian.com/browse/CONFSERVER-29447>

That being said, there is nothing preventing you from creating your own template, exactly the same, and adding your own label to it. So you could have a new template for provisioning, technical, etc. Then a different create from template for all of those, with different labels for each.