on ‎2020 Nov 13 1:28 PM
Hi,
i wanted to ask if there was a way to export static pages but containing various components (paragraphs, banners, links, images, etc.) created in SmarEdit to be able to reload them in other environments.
For example, the customer creates all the pages on STG and then we export them to PROD.
Regards,
Crescenzo
Request clarification before answering.
You could use Backoffice's "System > Tools > Script Generator" to generate an export script for all Types. After you generate the script, select whatever Types you need (related to CMS, including dependencies) and export the data using Backoffice or HAC. You may need to adjust the columns/attributes that you need to export, and this will require some trial-and-error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi geff.h.n.chang,
unfortunately it is a way that i am trying with poor results because the generated scripts do not contain all the information necessary for the reconstruction of the pages.
To follow this path i should, as i am already doing, modify the generated scripts by adding the missing attributes, this path is long and complicated so i was wondering if after so many years SAP had thought of an easier way to export pages and contents created by SmarEdit given that these types of scenarios exist on all SAP Commerce projects.
Regards,
Crescenzo
The argument is that in our project there will be more than 30 pages, which will contain a bit of everything images, tests, links and in some cases entire pages written in html, which the customer wants to create in a staging environment and which will then have to be migrated to production.
Can't you ask the customer to prepare this content page directly in production?
From what you are telling me, I think it will take a lot of work to create all the export scripts in order to generate the impexes that will be loaded into production.
crescenzorega You can create the CMS in staging environment using SmartEdit. (You can also prepare it via impex).
In any case, you just need to prepare the impex script to export those pages / types. The apparelstore extension should give you an idea of some of the common types that are used: /apparelstore/resources/apparelstore/import/coredata/contentCatalogs/apparel-ukContentCatalog/cms-responsive-content.impex
If you extended the types (e.g. added new attributes), then you need to adjust the headers of the script.
To export media related to content catalog, I think you can simply add a filter in the export script, so that it exports the Staged content catalog (i.e. Do not include the product catalogs, or the Online content catalog).
But yeah, preparing this will take some time and trial-and-error.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.