I am trying to create Confluence (Data center) pages on the fly though scripting. I would like to be able to have Bob Swift HTML macro automatically import an external HTML page. If this can be done through Rest API that would work too.
Hi @Paul Davis
We are from the BobSwift support team and would like to inform you that we have created a support request SUPPORT-4706 on your behalf in our portal.
Request you to signup to the portal and let us know the username or email address so that we can make you the reporter and will be able to access the ticket.
Please find the below link to signup to the portal: https://bobswift.atlassian.net/servicedesk/customer/user/signup?destination=portals%2F1%3Fignored%3Dportals%2F1
In order to import an HTML file to be added as page in your confluence using the renderPage action. Please see the below action for reference.
--action renderPage --id 6520846 --file view_with_clean.html --options "representation=view" --clean
You can also try using the loadFiles action which will allow load directory and files into a page hierarchy
--action loadFiles --space "zmisc" --file "./src/itest/confluence/resources" --replace --continue
Please let us know if there is any specific reason for using Bob Swift HTML for confluence app and also can you please provide us the complete use case of your requirement as it will help us better understand and help you with your request.
Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to! Meet some of the ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events