Forums

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

Using Bob Swift CLI to interact with Bob Swift HTML

Paul Davis September 19, 2020

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. 

1 answer

1 accepted

1 vote
Answer accepted
Deleted user September 21, 2020

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.

Regards,
Vijay Ramamurthy

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events