Get the SharePoint Storage Format
The SharePoint Storage Format is the technical under-the-hood view of a SharePoint page. It’s what WikiTraccs creates when performing the Confluence to SharePoint migration.
Use the REST API to view the storage format
You can use the SharePoint REST API to view the storage format of a single page in the browser.
You need the following information to do that:
- your SharePoint site address (example: https://contoso.sharepoint.com/sites/it-support)
- the item ID of the page to get the storage format for (example: 33) (Note: you get that item ID from the Site Pages library; find your page there and add the ID column to the current view, if necessary; the number shown there is the item ID)
- the title of the Site Pages library, in the site’s default language (examples: Site Pages (for English, note the space!), Websiteseiten (for German))
Note
You can figure out the page item ID by adding the ID column to any view of the Site Pages library.Using above information you now build the REST API address using this pattern:
SITEADDRESS/_api/web/lists/GetByTitle('SITEPAGESLIBRARYTITLE')/items(PAGEITEMID)
So, using example data from above the address would look like this:
https://contoso.sharepoint.com/sites/it-support/_api/web/lists/GetByTitle('Site Pages')/items(33)
Paste this whole address into the address bar of your browser where you are already logged in to SharePoint Online. This should show textual information about the page (in XML format). It should contain the text <d:CanvasContent1>
.
When sending information to support, please provide the whole content shown by the browser.
Note about Site Pages Library title localization
Figuring out the title of the Site Pages library can be tricky when you are viewing the SharePoint site in a language that is not the default site language. The default site language is the language the site has been created in. When using the wrong title you’ll get the error List ‘…’ does not exist at site with URL. Ask the site owner for the site’s default language and use the localized title that matches this language instead.Cannot figure out the library title?
If you cannot figure out the right title of the Site Pages library, you can use its ID instead.
The address changes slightly and looks like this:
https://contoso.sharepoint.com/sites/it-support/_api/web/lists/GetById('d0dce654-b0b6-4cf6-b305-a83544aa5e10')/items(33)
The ID of the Site Page library is unique across site languages. To get the ID, open the Library Settings of the Site Pages library. Look at the browser address bar, which shows something like /_layouts/15/listedit.aspx?List=%7Bd0dce654-b0b6-4cf6-b305-a83544aa5e10%7D
. The ID is enclosed in %7B
and %7D
, or {
and }
. Here it is d0dce654-b0b6-4cf6-b305-a83544aa5e10.