View storage format

How do I view the underlying storage format of this wiki page:

https://confluence.atlassian.com/display/DOC/Confluence+Release+Notes

2 answers

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Jun 17, 2014

This is what it would be ...

<ac:structured-macro ac:name="panel">
  <ac:rich-text-body>
    <p>
      <strong>On this page:</strong>
    </p>
    <p>
      <ac:structured-macro ac:name="toc">
        <ac:parameter ac:name="maxLevel">2</ac:parameter>
        <ac:parameter ac:name="minLevel">2</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

Davin Studer Community Champion Jun 17, 2014

You could get this youself too. Just view the source of the page and then recereate that same structure in your own Confluence instance. Then use the Confluence Source Editor to view the storage format.

Thanks Davin, that's what I needed!

How would I recreate that same structure in my Confluence instance without copying the storage format?

Davin Studer Community Champion Jun 18, 2014

When you are on the page view the source.

This will popup a new window. In that window you will see what you would see if you were editing the page.

You can see that that section is just a panel with some text and a table of contents in it. You can see thet the minLevel and maxLevel properties are set on the table of contents. On your system recreate it. You can also copy the source from the popup by highlighting it and pasting it into your Confluence ... worked for me.

Then use the Confluence Source Editor to view the source. Click the <> button in your toolbar.

Voila! There is the storage format.

Oh wow, I had no idea you could copy and paste the panel like that. Cool, thanks!

This widget could not be displayed.

You can use the "view source" option to get close, but "storage format" is a function which isn't enabled on that Confluence installation, so you can't.

Hey thanks Nic, I want the source that I can add to my own wiki to recreate the "on this page" block from that page, so I think "view source" is not what I'm after.

I tried to grab the storage format with the XML-RPC getPage method, but it complains "incorrect username/password combination" even though I'm able to log in to that wiki with the same username and password.

Is someone with access able to please pastebin the storage format of that page for me?

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Aug 14, 2018 in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

173 views 12 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you