Hello,
Our user have problem with update the page via rest api.
- When Confluence page is created from template using REST API, HTML macro with java script code built into template is available in 1st page version
- When same Conlfuence page is updated with REST API, HTML macro content disappears - version 2 does not contain java script code (only empty HTML macro)
According to that I have 2 questions:
1. Is this security rule built into Conlfuence?
2. Is Confluence administrator able to turn this functionality on?
Hi.
I suspect that when you update the page second time then you don't have your java script code in page's body.
Updating page won't save previous content while adding new.
You have to get page content from current version, add new content to extracted one or modify existing content and then post updated content to the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.