{"id":18953,"date":"2019-11-22T00:17:52","date_gmt":"2019-11-22T00:17:52","guid":{"rendered":"https:\/\/www.globalizationpartners.com\/?p=18953"},"modified":"2021-02-28T11:57:17","modified_gmt":"2021-02-28T11:57:17","slug":"how-to-copy-content-in-episerver","status":"publish","type":"post","link":"https:\/\/www.globalizationpartners.com\/2019\/11\/22\/how-to-copy-content-in-episerver\/","title":{"rendered":"How to Copy Content in Episerver (Optimizely)"},"content":{"rendered":"<p>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.<\/p>\n<h2>Copying Content in Episerver (Optimizely)<\/h2>\n<p>There are two different ways to copy pages to another part of a website or even to another website.<\/p>\n<p>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.<\/p>\n<p>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 \u201c_zh-Hans_\u201d at the beginning.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18954\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-1-300x113.png\" alt=\"\" width=\"433\" height=\"163\" \/><\/p>\n<h2>Copying &amp; Pasting<\/h2>\n<p>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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19010\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-2-1-300x127.png\" alt=\"\" width=\"789\" height=\"334\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-2-1-300x127.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-2-1-768x326.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-2-1-1024x435.png 1024w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-2-1.png 1146w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/p>\n<p>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 \u201cChinese Start Page\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19015\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-3-1-300x136.png\" alt=\"\" width=\"792\" height=\"359\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-3-1-300x136.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-3-1-768x349.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-3-1-1024x465.png 1024w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-3-1.png 1141w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/p>\n<p>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:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19020\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-4-1-300x192.png\" alt=\"\" width=\"795\" height=\"509\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-4-1-300x192.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-4-1-768x493.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-4-1-1024x657.png 1024w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-4-1.png 1233w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19025\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-5-1-300x172.png\" alt=\"\" width=\"795\" height=\"456\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-5-1-300x172.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-5-1-768x440.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-5-1-1024x586.png 1024w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-5-1.png 1198w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/p>\n<p>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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19030\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-6-1-300x133.png\" alt=\"\" width=\"749\" height=\"332\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-6-1-300x133.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-6-1.png 768w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19035\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-7-1-300x128.png\" alt=\"\" width=\"750\" height=\"320\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-7-1-300x128.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-7-1-768x328.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-7-1.png 779w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<h2>Exporting &amp; Importing<\/h2>\n<p>On the CMS admin page, in the left menu, there is an option for exporting and importing data under the tools section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19040\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-8-1.png\" alt=\"\" width=\"523\" height=\"551\" \/><\/p>\n<p>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 \u201cAutomatically export dependent content types\u201d and \u201cExport property settings\u201d, to ensure the content will be able to be imported on the destination website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19045\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-9-1.png\" alt=\"\" width=\"839\" height=\"556\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-9-1.png 1094w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-9-1-300x199.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-9-1-768x508.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-9-1-1024x678.png 1024w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>Next, click the export button and a file will be downloaded.<\/p>\n<p>In the destination website, go to the Import Data area, select the downloaded file and select the content destination. Make sure to uncheck \u201cUpdate existing content items with matching ID\u201d 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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-19050\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-10-1.png\" alt=\"\" width=\"839\" height=\"445\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-10-1.png 797w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-10-1-300x159.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2019\/11\/episerver-10-1-768x407.png 768w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>When exporting and importing the content, you can select if want to import all languages or to import just one language.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":16605,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[284],"_links":{"self":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/18953"}],"collection":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/comments?post=18953"}],"version-history":[{"count":10,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/18953\/revisions"}],"predecessor-version":[{"id":29753,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/18953\/revisions\/29753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media\/16605"}],"wp:attachment":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media?parent=18953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/categories?post=18953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/tags?post=18953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}