Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

142 views 3 12
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