Problem in adding labels to a template (blueprint)
Asked by Debra Graham:

**Goal** : Add two labels to the How-To and Troubleshooting global templates: *public* and *troubleshooting-peergfs* . Purpose of the *public* label is to trigger a Comala Document Management workflow; the purpose of the other label for categorization.

**Problem 1:** From Confluence documentation: "If you'd like all pages created using this template to have one or more labels, choosethe labels icon next to the breadcrumbs at the top of the page to add them."

However, when you edit the template, the labels icon does not appear initially in breadcrumbs.

![No breadcrumb.png](/t5/image/serverpage/image-id/108686i5DF3C467D7233EF6/image-dimensions/524x155?v=v2 "No breadcrumb.png")

You must first save the template, reopen it, and then the Label icon appears in the breadcrumbs.

![Breadcrumb appears.png](/t5/image/serverpage/image-id/108688iD3B89D297CDB188C/image-dimensions/548x142?v=v2 "Breadcrumb appears.png")

OK, poor documentation on their part but I figured it out.

**Problem 2:** Now that I've found the Labels icon, I click it and add two labels to the template: *public* and *troubleshooting-peergfs*. I then save the template.

![Labels added to template.png](/t5/image/serverpage/image-id/108687i1203E569F1DBB62E/image-dimensions/535x201?v=v2 "Labels added to template.png")

Now I'm ready to create an troubleshooting article. I go to the desired space, choose the Troubleshooting template and get the following dialog. I enter a name but don't add any labels in the Labels fields, because I have already added the labels to the template.

![Name KB article.png](/t5/image/serverpage/image-id/108689i9695CB95383C939C/image-dimensions/532x290?v=v2 "Name KB article.png")

I then click Create and the article opens for me to edit. However, the article has only one label--the *troubleshooting-peergfs* label. What happened to the *public* label? Why isn't it being applied by the template?

![Only one label.png](/t5/image/serverpage/image-id/108690i68B14DF7ACE29D21/image-dimensions/647x204?v=v2 "Only one label.png")

So then I create a second article and this time, when I get the dialog, I enter one label in the Labels field--*public*.

![Name dialog with public label.png](/t5/image/serverpage/image-id/108691iFA74EC327F98F29E/image-dimensions/532x291?v=v2 "Name dialog with public label.png")

After I click Create, the article opens and has TWO labels--it has both *public* and *troubleshooting-peergfs,* even though I only entered *public* in the dialog. So it picks up *troubleshooting-peergfs* from the template but not *public*.

![Two labels.png](/t5/image/serverpage/image-id/108692i89E5F3B59145B5B8/image-dimensions/566x165?v=v2 "Two labels.png")

**Why is it picking up *troubleshooting-peergfs* from the template but not *public*?**

The same thing happens when I try to modify the How-to template.

However, when I create my own template (a FAQ template), both labels are picked up and applied to the article. What is going on?

I wonder if the difference has to do with the nature of the How-to and Troubleshooting templates. Some of the templates that Confluence provide work differently.

Some of them don't have that dialog where you are asked to name the document and enter labels. Instead, as soon as you choose the template (e.g. Blank Page, and click Create, the article opens and you enter the name directly in the page. This may not be relevant but I thought I would throw that in there.


Answers:
author: James Conway
body: Hi [@Debra Graham](/t5/user/viewprofilepage/user-id/1288054)

I saw that you found and commented on [https://jira.atlassian.com/browse/CONFSERVER-38181](https://jira.atlassian.com/browse/CONFSERVER-38181?)

If you need any help with Comala Document Management please don't hesitate to reply here or contact our friendly support team at <https://support.comalatech.com>

Kind regards

James  
Senior Product Manager

comments: author: Debra Graham
body: Hi James, I need some help with this issue: SUPPORT-8548   
"[Unpublished draft version is displayed to users instead of published version](https://comalatech.jira.com/servicedesk/customer/portal/1/SUPPORT-8548?sda_source=notification-email)"

I tried the suggested solution and it didn't help.

Regards,

Debra


Tags: blueprint

comala-workflows

confluence-server

label

server

template