I'm trying to create a project plan blueprint. I'd like a list variable that contains a list of Status macros. For the list I enter:
But all I get is the text when I use the blueprint. Is there a way to make Confluence recognize the wiki markup when it processes the variable or is there another way to do this?
Thanks for the reply, Hanis. But I don't follow what you mean. I understand how to add Wiki Markup, but what I'm trying to do is get wiki markup inside a list variable. So, that when you go to create a page from the template, you can select the appropriate status macro from the drop down list and have it create the macro on the page rather than just the plain text like it has been doing.
You can do this by setting the ac:name="colour" parameter. In your template.xml:
<ac:macro ac:name="status"><ac:parameter ac:name="colour"><at:var at:name="status"/></ac:parameter>
in your template.soy:
<select id="status" class="select" name="status">
I didn't figured out how to dynamically set a custom text for the options. I guess you would have to do that in the template.js. Any ideas?
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs