When a new page is created using a template I want a label to be assigned the value of a specific variable on the page so that I can then use the label as a filter in the Page Properties Report.
The scenario is this:
I have a set of pages containing Trade Partners and another set of pages listing all the sales events (conferences etc.) that we attend.
Is this possible or am I going about it the wrong way?
Templates do not allow variably named labels - they only allow a statically named set of labels.
Blueprints, on the other hand, allows some programmatic control over the resulting page. In this case, you could potentially add the required labels by listening to the `com.atlassian.confluence.plugins.createcontent.api.events.BlueprintPageCreateEvent`, and checking that the blueprint is the one you're interested in (using `com.atlassian.confluence.plugins.createcontent.events.BlueprintPageCreateEvent#getBlueprint`)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.