Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,189
Community Members
 
Community Events
165
Community Groups

What is the macro name for your Confluence macros?

I would like to search for the Timesheet macros 'Time Sheet' and 'Project Pivot' in Confluence using the 'macroName' string in Confluence global search as detailed here.

To run the search, I need the macro name. Here is a list of Confluence macro names that work with this kind of search. E.g. to find out where the 'Page Properties Macro' is used you can used the search string: macroName:details.

 

3 answers

1 accepted

0 votes
Answer accepted

Hi Armin,

Looks like it's not possible. Basing on https://confluence.atlassian.com/doc/gadget-macro-204047561.html all such macros are stored with 'gadget' name.

Thank you.

0 votes
Dave Liao Community Leader Jan 09, 2021

@armin.mayrhofer - if you check the HTML source of a page containing the macro you want to search for, look for "data-macro-name" and then try running a macroName search against that name.

Checking the source of a page with the Page Tree macro, I see its data-macro-name is pagetree, so now I can search by: macroName: pagetree

Fun fact, if you're searching for several macros with the same root name, use a wildcard "*" to search for multiple macros simultaneously:

macroName: include*

Thanks for checking @Andriy Zhdanov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

389 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you