What is the name of the Questions List macro?

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.

1 answer

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?

Hi Philip, alternatively you may edit the Site Welcome Message and include Question List Macro in there.

Cheers

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,006 views 14 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you