Hello! Fairly new to Confluence, experienced JIRA (user and admin.)
We are setting up a proof of concept to use Confluence as a requirements repository. I've created templates for some of our standard deliverables. We have a need to add attributes to the documents created via the templates.
I created a user macro that creates drop down lists for the user to fill in - but the downside is that the value is searchable when it's just text typed in a confluence page, but not when it's created via the macro.
(Example: A field we need is Product. The user macro presents options Product A, Product B, Product C. When I search "Product A" the page created with the macro does not appear. Ideal scenario would be able to search "Product: Product A" but even a search result of "Product A" would be helpful.)
I know the best way to collect data attributes like this is via labels, but I'm not sure we can expect our new to Confluence users to consistently add the correct labels (I've embedded static ones within the templates).
Ideally, I'd like the macro values to be searchable. Another idea I searched for was forcing the addition of labels, or converting text to labels but I'm coming up short on all my ideas.
Thanks for any help you can throw my way.
Hi Lara,
have you tried the list-option of Template Variables: https://confluence.atlassian.com/doc/create-a-template-296093779.html#CreateaTemplate-Templatevariables
Another solution could be the Scaffolding-Plugin with Label-Options-Macro: https://docs.servicerocket.com/display/SCAF/label-options
Another idea could be to work with the Page-Properties Macro. Based on your Confluence version, as it is new i assume you have 5.10, you can perform more or less advanced searches for values in a page-property...
so far my first ideas
greetings
Benjamin
I had tried the list variables option - I can't recall why I didn't quite like it
But I just used it again within the page properties macro and I think this might be the best solution! Since we are still in the POC stage, we're pretty locked down on bringing in add-ons (for the moment) but I'll save this link to look at in the future - seems like labels can be super useful.
Thanks so much for your help! This will work for us! Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given the suggested answer, it seems that searching macro content is a no-go?
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.