Hi,
it is possible to insert a macro into a page with the confluence command line interface.
(e.g. confluence --action modifyPage --id "216597104" --content "<ac:macro ac:name=""unmigrated-inline-wiki-markup""><ac:plain-text-body><![CDATA[{wiki:param1=xxxxx}bodyText{wiki}]]></ac:plain-text-body></ac:macro>" --noConvert )
But: --content or --content2 puts the content at the end or at the beginning of a page, but I want it to be following another macro, that is somewhere in the midst of the page.
I ve already tried using findReplace, which drives me mad with the special characters, and it doesn t work yet.
Any other ideas?