Identifying macros on a page
Asked by jhmcmullen:

In maintaining pages created by others long gone, I sometimes come across constructs that I've never seen before. Usually these are the result of macros I've never had occasion to use. I have such a page before me.  

I'm sure there's some trivial way to identify the macros being used on a page, but I don't know what it is.  

(The specific case here is that, when I open the page for editing, the page seems to consist of invisible boxes, two columns. I can edit inside the boxes but not select the boxes. But I'm interested in some general answer so I can delay having to ask for help.)

John


Answers:
author: Mikael Sandberg
body: Hi [@jhmcmullen](/t5/user/viewprofilepage/user-id/5334006),

Welcome to Atlassian Community!

Regarding the two invisible boxes/columns, it sounds like you are describing layout, something like this:

![Screenshot 2023-10-05 at 1.43.12?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/284788iD9C3D572E53CE097/image-size/large?v=v2&px=999 "Screenshot 2023-10-05 at 1.43.12?PM.png")Those are used to divide your page up in different sections, and you have have multiple layouts on the page.

The only way to identify the macros used on a page is to open the edit mode and it will tell you (most of the time) which macro it is.

![Screenshot 2023-10-05 at 1.48.37?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/284789i3F2A9CBC178811EF/image-size/large?v=v2&px=999 "Screenshot 2023-10-05 at 1.48.37?PM.png")

comments: author: Ash Yadav
body: This,

Although it would also be helpful if you could provide an example via a screenshot [@jhmcmullen](/t5/user/viewprofilepage/user-id/5334006) so we can make sure.

To echo what [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) once you open a page to edit you'll see something like this if a macro is used:

![](https://confluence.atlassian.com/doc/files/51872369/1005333586/1/1589961784755/note-macro-body.png)

Source: <https://confluence.atlassian.com/doc/info-tip-note-and-warning-macros-51872369.html>

I haven't encountered macros that wouldn't identify themselves in edit mode (yet) so this should help.

Kind Regards,

Ash


author: Rodrigo
body: Hello [@jhmcmullen](/t5/user/viewprofilepage/user-id/5334006), and welcome to the Atlassian Community!

Adding to the useful responses here, you can use the "Macro Usage" section in your Confluence Settings to review which macros are currently being used.

This cannot be filtered unfortunately (all your macros will appear here), but it can be helpful in case you discover a macro that is no longer used and wish to obtain their specific location.

With friendly regards  
Rodrigo

![2023-10-06_11-25-29.png](https://community.atlassian.com/t5/image/serverpage/image-id/284894i756F9B533F5D5F79/image-size/large?v=v2&px=999 "2023-10-06_11-25-29.png")


author: Laurie Sciutti
body: Hi [@jhmcmullen](/t5/user/viewprofilepage/user-id/5334006) and welcome! I'm not sure if there's a way to find all macros in a space but you can search for specific macros in a space using syntax (Table of Contents macro used as an example): **macro = "toc" and space = *XXXX.***

Or maybe export the space in xml format and search that?


Tags: cloud

confluence-cloud