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

Calling {expand} macro from within User Macro

S.V October 5, 2017

Hello, I have a User Macro I wrote that takes in parameters and presents it. I want to include the output of my macro in an expandable text box, similar to how {expand} works right now, instead of creating an instance of {expand} on a page and then creating an instance of my macro within it manually. Is there a way to call {expand} from within my code? I tried searching for the {expand} source or people who had my problem before, but since I'm quite new to Confluence I couldn't understand how to do it.

Thanks

1 answer

1 accepted

3 votes
Answer accepted
S.V October 6, 2017

I figured it out, you use 
<ac:macro ac:name="expand"></ac:macro>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events