Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to access the UserMacroLibrary from a User Macro?

Jeremiah Dost August 29, 2023

I'm attempting to create a User Macro that will display a table of available user macros in our Confluence instance so that I don't have to manually maintain the documentation for those macros as we create them.

I note that the $action (ConfluenceActionSupport) object (documented here https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/#default-velocity-context) has a subclass of UserMacroAction (documented here https://docs.atlassian.com/ConfluenceServer/javadoc/8.4.2/com/atlassian/confluence/admin/actions/macros/UserMacroAction.html), which looks promising, but I'm not sure how I could drill into it or if this level of access is even available to user macro implementations.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events