-
Type:
Suggestion
-
Resolution: Answered
-
Component/s: Connect Platform, Ecosystem
The Atlassian documentation doesn't explain clearly how to retrieve the body content of a Confluence macro in preview mode. It says :
"If you use the
{macro.id}in your URL, the REST api will not return the macro body during a preview request, because the page has not been saved yet. You can use the
{output.type}parameter to detect whether the macro is rendered in preview mode and adapt the response accordingly."
But the tutorial doesn't explain how to adapt the response accordingly
I asked this question on answers web site with some code example :
https://answers.atlassian.com/questions/27330364/confluence-ondemand-cannot-display-macro-body-of-a-dynamiccontentmacros
Thanks
Xavier Arques
- relates to
-
CONFCLOUD-61025 Improve Macro Preview Handling on 'Insert Macro'
- Closed