Hi
I'm having an issue when creating a page in confluence with a macro inside.
I'm using the macro "children" and this is my code:
<ac:structured-macro ac:name="children">
<ac:parameter ac:name="all">true</ac:parameter>
<ac:parameter ac:name="style">h1</ac:parameter>
<ac:parameter ac:name="page">
<ac:link>
<ri:page ri:content-title="'.$cliente_nombre_corto.'"/>
</ac:link>
</ac:parameter>
<ac:parameter ac:name="sort">creation</ac:parameter>
<ac:parameter ac:name="excerpt">true</ac:parameter>
<ac:parameter ac:name="excerptType">rich content</ac:parameter>
</ac:structured-macro>
The page is created ok except the excerptType of this macro that has always the "simple" value.
I want to include the rich content of the children pages. Am I doing something wrong?
Thanks a lot!
Hi!
Could you check your prepared example in Confluence storage format?
I mean, often excerptType not needed.
Cheers,
Gonchik Tsymzhitov
Hi Gonchik, thanks for your quick answer.
In Confluence storage format I have this code
<ac:structured-macro ac:name="children" ac:schema-version="2" ac:macro-id="f6e20cfc-a276-44cc-98ad-8f73c94f2346"><ac:parameter ac:name="all">true</ac:parameter><ac:parameter ac:name="style">h1</ac:parameter><ac:parameter ac:name="page"><ac:link><ri:page ri:content-title="Name of the page" /></ac:link></ac:parameter><ac:parameter ac:name="sort">creation</ac:parameter><ac:parameter ac:name="excerpt">true</ac:parameter><ac:parameter ac:name="excerptType">simple</ac:parameter></ac:structured-macro>
I need the excerptType to be "rich content" instead "simple". The page is created with the rest Api with the excerptType = simple and when I edit this page I can change without problem the macro to change the excerptType = rich content. And it shows me all the content of the child page.
But I want to create since the start, the page with rick content.
It's not viable to me to edit every page I'm creating with rest Api to change this value of Excerpt Type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.