Exporting and importing a page as a JSON file

In a space, you can duplicate a page and drag the duplicate to a different position in the pagetree. Bt it is not possible to duplicate a page to a different space. So we came up with an idea. In the editor, admins can export a page as a JSON file. In this file, the entire page content is listed without the space stying. If you want to use the content and the design of any page again, you can download the JSON file, create a new page and upload the JSON file.

This allows you to

  • Easily replicate pages and content in different spaces and even installations
  • Create page templates that you can use when creating new installations
  • Save a backup of page content before you start working on new content

Images

One thing to keep in mind are the images. Images placed on a page have a direct reference to the installation in which they are first placed. That means that if you download a JSON file from installation A, and use it in installation B, the images shown on the page in installation B will have the exact same reference (thus to installation A). If later on you decide to delete the image from installation A, or to delete the entire installation, the image will no longer be visible in installation B.

To solve this, you can download each image and upload it again to the new page. Simply drag any image from the page to your desktop (or any local folder), and upload it again to the same page. After publishing the page, the reference to the image will be updated to installation B.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us