Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a excerpt-include table via the Python API

James Mulholland
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2023

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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events