I want to incorporate the Questions List macro into my Confluence Dashboard, which means I need to know the underlying macro name.
I've tried questions-list but that doesn't work.
(As an aside, is there a generic way of determining the markup name for a given macro?)
Hey Philip, this is what appears in the bodycontent table when inserting Questions list macro:
<p><ac:structured-macro ac:name="questionslist-macro"><ac:parameter ac:name="ask">true</ac:parameter><ac:parameter ac:name="filter">popular</ac:parameter></ac:structured-macro></p>
This brings macro name as questionslist-macro.
I hope it helps.
Thanks for the reply. Unfortunately, the Dashboard still reports that as unknown macro. Here is what I've added to the Dashboard layout:
<div class="dashboard-group right wiki-content">
I've only added that first call to renderConfluenceMacro. The second call is the one that was there already.
Maybe renderConfluenceMacro doesn't like the Questions List macro for some reason?
That works for me but it isn't giving me as much flexibility around the layout of the Dashboard.
Somehow, Team Calendars is being rendered as part of the welcome message, even though it isn't IN the welcome message.
This is the Dashboard bit:
<div class="dashboard-item welcome-message wiki-content">
and the welcome message is literally some text and the newly-added Questions List macro.
So, somehow, the Team Calendar macro is inserting itself in that flow. I know this because if I remove the above three lines from the Dashboard, the calendar disappears.
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