Using CONF 5.5.7 I want to get the content (body) of one specific page to show it on another page.
I dont want to use the include macro for permissions reasons. In a restricted space there is just one page that has to be shown in another public space. Secure-include macro doesn't work here. Maybe an issue with HTTPS.
The following user macro works fine to show the homepage of a specific space in another space's page:
#set($space = $spaceManager.getSpace("myKey") )
#set($homepage = $space.getHomePage() )
$homepage.getBodyAsString()But how can I get the body of another specific page of that space? I can't find a method getPage(pageid) to use in my user macro.
Any idea?
Many thanks.