Create page with html content

Hi,
I need to create a html formated page using an API.
The web interface provides the HTML Macro for that purpose.
I have no clue how to do that using the API
Any help will be appreciated.

Best regards.

Hey @amaurilo.silva,

Could you provide more context to this? Like what API do you use? Or code snippet?

Cheers,
Anne

Hi Anne,
I was able to use the AddPage API with the following content to create a new page:

“<ac:structured-macro ac:name=‘html’>
ac:plain-text-body
<![CDATA[

This is my custom content
]]>
</ac:plain-text-body>
</ac:structured-macro>”

It is working .
Tks for you reply.

Amaurilo

1 Like