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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,782 views 26 10
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