Fernando
Feb 4, 2021
  4611
(0 votes)

How to Copy Content in Episerver (Optimizely)

Episerver (Optimizely) is a content management system (CMS) that allows users to easily manage website content and provides a user-friendly way to manage multiple websites in the same application. In this blog, I will discuss how Episerver (Optimizely) can reduce the time spent on editing websites and copying content if you use a page that is already created as a base for the addition of new content instead of creating a page from scratch.

Copying Content in Episerver (Optimizely)

There are two different ways to copy pages to another part of a website or even to another website.

Episerver (Optimizely) allows users to easily copy and paste directly from the tree view and, in an advanced way, export and import content from the admin panel.

For demo purposes, we will use an instance of Episerver (Optimizely) with the Alloy demo website, which has several languages and a second website that is empty and only has the Chinese language available. All content translated has “_zh-Hans_” at the beginning.

gpi_how to copy content in episerver

Copying & Pasting

In the edit screen, go to the tree where the desired content to be copied is, set the mouse over the name of the page in the content tree and a three lined icon will appear. By clicking this icon, it will expand a menu with different options. Click copy.

gpi_how to copy content in episerver

This process should be repeated for the destination item but click on the paste option. In this case, we want to reproduce the same website, and the destination will be the “Chinese Start Page”.

gpi_how to copy content in episerver

There is a disadvantage from following this approach when copying to another website because if the media is not copied properly in the destination, the page will not display the images correctly, as can be seen in the image below:

gpi_how to copy content in episerver

gpi_how to copy content in episerver

This is an issue that happens when the item is copied using the source website URL instead of the destination website URL to copy the content.

gpi_how to copy content in episerver

gpi_how to copy content in episerver

Exporting & Importing

On the CMS admin page, in the left menu, there is an option for exporting and importing data under the tools section.

gpi_how to copy content in episerver

By clicking Export Data, Episerver (Optimizely) will show the exportation screen to the user and allow the selection of the desired content to be exported. In this example, the same page as the first example will be used. Be sure to check “Automatically export dependent content types” and “Export property settings”, to ensure the content will be able to be imported on the destination website.

gpi_how to copy content in episerver

Next, click the export button and a file will be downloaded.

In the destination website, go to the Import Data area, select the downloaded file and select the content destination. Make sure to uncheck “Update existing content items with matching ID” otherwise, if the destination website is in the same instance that the destination is, the content will not be imported and will override the existing one that was recently exported.

gpi_how to copy content in episerver

When exporting and importing the content, you can select if want to import all languages or to import just one language.

This process will be easier for duplicating the content in another website than copying all properties one by one and will save you valuable time.

Feb 04, 2021

Comments

Johan Kronberg
Johan Kronberg Feb 10, 2021 07:06 AM

The product suite of Optimizely is quite large and to be more on point I think we should use the actual product names, in this case Content Cloud (or previously CMS) instead of just the company name(s).

Please login to comment.
Latest blogs
Optimizely Forms: You cannot submit this form because an administrator has turned off data storage.

Do not let this error message scare you, the solution is quite simple!

Tomas Hensrud Gulla | Oct 4, 2024 | Syndicated blog

Add your own tools to the Optimizely CMS 12 admin menu

The menus in Optimizely CMS can be extended using a MenuProvider, and using the path parameter you decide what menu you want to add additional menu...

Tomas Hensrud Gulla | Oct 3, 2024 | Syndicated blog

Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024