Placeholder Section
Placeholder Section
|
|
Legacy feature
The Coveo Hive Framework is now in maintenance mode and is no longer recommended for new implementations. To build new search experiences, use one of Coveo’s more modern, lightweight, and responsive libraries. To get started, see the Build search article. |
Section that adds a dynamic placeholder for your custom components (see Insert custom components in an existing search interface).
Usage notes
-
For the dynamic placeholder to be displayed in the Experience Editor, create a
Placeholderitem under thePlaceholder Settingsitem in the Content Editor. ThePlaceholder Keyfield value in thisPlaceholderitem and the Placeholder Section rendering data sourcePlaceholder keyoption value must match. -
Avoid storing your custom
Placeholderitems in thesitecore/Layout/Placeholder Settings/Coveo Hivefolder. Coveo Hive folders are overwritten during an upgrade.
Insertion location
Coveo Hive
The Placeholder Section rendering is an Allowed Control in the following placeholder(s): UI Header, UI Footer, Footer Section, Header Section, Main Section
Coveo Hive SXA
Coveo for Sitecore SXA doesn't include a Placeholder Section rendering. Use a Sitecore container or splitter to create a section for your custom rendering.
Data Source Options
| Option name | Description |
|---|---|
| Placeholder key | The key of the placeholder to add |
Sample Generated HTML in Experience Editor
<div sc-part-of="placeholder rendering" class="scEnabledChrome chromeWithDatasource">
<div>Placeholder Section: my-custom-placeholder</div>
</div>
