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`)
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events