Create Local Components or Layouts

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. Click Developer and then click View All Components.
  2. Click Create, and select the type of component or layou you want to create.
  3. 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.

  4. Optionally, enter a description for the component or layout.
  5. 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).
  6. 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.
  7. 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.