Hi, I have a script that currently creates multiple pages, with the goal of having a 'main' page with excerpt-include tables that link to child pages each of which with a 'excerpt' table on them. I have verified this works by creating it on Confluence manually.
I want to automate this creation, and I've managed to create all of the pages and the excerpt tables on the child pages. I can't work out however how to create the excerpt-include macro and link it properly. I've only managed to create an empty excerpt-include macro with the following:
<ac:structured-macro ac:name="excerpt-include"></ac:structured-macro>
Do I need to pass the ID of the excerpt macro I want to link in this? Or how would I set this widget up?