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?)
Thanks.
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.
Cheers
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">
$helper.renderConfluenceMacro("{questionslist-macro}")
$helper.renderConfluenceMacro("{recently-updated-dashboard:showProfilePic=true}")
</div>## right
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Philip, alternatively you may edit the Site Welcome Message and include Question List Macro in there.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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">
$action.welcomeMessage
</div>
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.