The Page Component is an extensible page component designed to work with the template editor and allows page header/footer and structure components to be assembled with the template editor.
The Page Component forms the basis of all pages designed with the Core Components as well as editable templates. By using the Page Component, headers, footers, and the structure of the page can be defined as a template using the other Core Components.
Using the design dialog, custom client-side libraries can be defined for the page. Unlike other components which have an edit dialog accessible directly from the component, because the Page Component is the page itself, the edit dialog of the Page Component is the page properties window.
This document describes v2 of the Page Component, which was introduced with release 2.0.0 of the Core Components in January 2018.
This document describes v2 of the Page Component.
For details of the current version of the Page Component, see the Page Component document.
Release 2.15.0 of the Core Components introduced support for AEM as a Cloud Service’s built-in Progressive Web Apps (PWA) features. With a simple configuration at the site level, turn your AEM experience into a PWA!
The latest technical documentation about the Page Component can be found on GitHub.
Further details about developing Core Components can be found in the Core Components developer documentation.
Because the component represents the entire page, settings that would normally be in an edit dialog are found in the Page Properties window.
Because the component represents the entire page, the design dialog is accessed via Page Information -> Page Policy when editing the page template.
In previous versions of AEM, Page Policy was called Page Design.
Using the Page Design window, you can define the client libraries to be loaded as well as the web resources library for the page.
Client Libraries - This defines the client library categories to load. JavaScript is added at the body end and the CSS is added to the page head.
Client Libraries JavaScript Page Head - This defines the JavaScript Client library categories to load in the page head.
Web Resources Client Library - The client library category that is used to serve web resources such as favicons.
Skip to main content element selector - Used as an accessibility feature to skip directly to the main content of the page
Libraries can be configured for both the Client Libraries and Client Libraries JavaScript Page Head fields as follows:
For more information about using client-side libraries see Using Client Side Libraries.
The ability to separately define client libraries for the page head was introduced with core components release 2.2.0.
The Page Component supports the AEM Style System.
The Page Component supports the Adobe Client Data Layer.