How do I create a local component or layout?

As a developer, when you create a local component or layout, you are given a fully-functional sample that you can modify to your own component or layout.

Before you can create a component or layout, 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.

As a developer, you can create components with access to the same features and capabilities as those provided by Oracle Content and Experience Cloud.

To create a sample local component or layout:

  1. On the home page, click Menu icon and click the Experience tab to view options.
  2. Click Components icon.
    Any currently registered remote components and layouts are displayed.
  3. Click Create and choose your option:
    • Create Local Component
    • Create Content Layout
    • Create Section Layout
  4. Enter a name for the component or layout. You can’t use a name used by another component or layout.

    You can use letters, numbers, underscores (_), and hyphens (-). If you enter a space, it’s automatically replaced with an underscore.

    Don’t use the following names for templates, themes, components, sites, or site pages:
    • authsite

    • content

    • pages

    • scstemplate_*

    • _comps

    • _components

    • _compsdelivery

    • _idcservice

    • _sitescloud

    • _sitesclouddelivery

    • _themes

    • _themesdelivery

    Although you can use the following names for site pages, don’t use them for templates, themes, components, or sites:
    • documents

    • sites

  5. Optionally, enter a description for the component or layout.
  6. For local components, you can choose to insert the component directly into the page or select Create a component that renders in an iframe to enclose the component in an inline frame (using an iframe element).
  7. Click Create.
    A progress bar shows the creation status. When the component or layout is created, the name appears in the list of components. You can explore the folders and files that make up the component or layout by clicking the component or layout name in the list of components.
  8. To select an icon other than the default icon assigned to the component or layout:
    1. Select the component or layout from the list.
    2. Click Properties.
    3. Click the Component Logo tab.
    4. Click a logo from the gallery of logos and then click Done.

For detailed information about how to create your own components, see Developing Components in Developing for Oracle Content and Experience Cloud.

After you have customized your component or layout, you can share it with others so they can use it in the following ways:
  • Custom Component: When you use the site editor, the component icon is added to the Custom Components panel in the editor with the name you assigned the component.

  • Section Layout: When you use the site editor, the section layout icon is added to the Section Layouts panel in the editor with the name you assigned the layout.

  • Content Layout: A content administrator can assign the layout to one or more content types, either as the default view or added to a list of layouts that a site designer can select in the site editor to specify how a content item of that type is displayed on the page.