Forums

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

Call a User Macro on a separate Page

lbuettner June 13, 2018

Hello, 

I am looping over pages through #foreach ($page in $allPagesInSpace), where $allPagesInSpace = $pageManager.getPages($space, true). 

What I'm trying to do is to create a table containing metadata of hundreds of pages. What I would like to do is run the Page Status macro for each page. I tried doing it through $action.getHelper().renderConfluenceMacro("{pagestatus}"), but this only pulls the page status for the page I am creating. 

If anyone could help me figure out the correct method, that would be greatly appreciated. 

Thank you.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events