Export or Import Components or Layouts

You can export a component to modify it offline and then import it either as a new component or to replace the existing component. You can also export a component to move it to another Oracle Content and Experience instance and import it there.

Exporting

When you export a component, you essentially copy the component to a folder in the Oracle Content and Experience as a single .zip file. You can download the component directly from the folder to unpack and work with the individual files. When you are done working with the component files, create a .zip file that contains the component folders and files, import it, and overwrite the original component or create a new one.

Note:

When you export a component, sharing information for the component isn’t included.

To export a component:

  1. Click Developer and then click View All Components.

  2. Select a component or layout and choose Export from the menu bar or the right-click menu.

  3. Navigate to a folder or create new folder by clicking New, providing a name and an optional description, and clicking Create. To open a folder, click the folder icon or the folder name.

  4. Select a folder by clicking the checkbox for the associated folder and click OK.

    A component or layout package file is created in the selected folder with the component or layout name and a .zip extension.

Importing

Before you can import or create a component, layout, or content field editor, your administrator must enable the options in the Create menu. If you don’t see the Create menu on the components page, contact your administrator.

To import a component, layout or content field editor:

  1. Click Developer and then click View All Components.

  2. Click Create and choose Import component. Choose this option to import a component, a section layout, or a content layout.

  3. If you uploaded the component or layout package, navigate to the folder that contains the component or layout and open the folder. If you haven’t uploaded the package yet, go to the folder where you want to upload the component or layout or create a new folder. Click Upload, then find the component or layout package and click Open.

  4. Click the checkbox next to the component or layout file name and click OK. A new component or layout is created and added to the component list. If the component or layout name or ID already exists, you’re prompted to resolve the conflicts. You may need to create a new component or layout or you can overwrite the existing component or layout with the imported version.