The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to import storage format

Sayed Bares [ServiceRocket]
Community Champion
December 31, 2018
  1. Install "Confluence Source Editor" add-on.
  2. Go to the page you want to import the Storage format.
  3. Click on "Edit".
  4. Click on "<>".
  5. Paste the codes to the source editor.
  6. Click on "Apply".

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Santwana Sarangi {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 8, 2019

Another way to import the storage format into the confluence page is by using the rest service provided by confluence.

Here is an example

curl -u admin:admin -X POST -H 'Content-Type: application/json' -d '{"type":"page","title":"new page",
"space":{"key":"TST"},"body":{"storage":{"value":"<p>This is <br/> a new page</p>","representation":
"storage"}}}' http://localhost:8080/confluence/rest/api/content/ | python -mjson.tool

Ref: https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/ 

TAGS
AUG Leaders

Atlassian Community Events