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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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.

Thanks for checking @Andriy Zhdanov

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*

Suggest an answer

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

How to log work and track time in Jira when a person is part of multiple teams

  The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...

111 views 2 2
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