Content Fragments - Configuration Browser content-fragments-configuration-browser

Learn how to enable certain Content Fragment functionality in the Configuration Browser to use AEM’s powerful headless delivery features.

Enable Content Fragment Functionality for your Instance enable-content-fragment-functionality-instance

Before using Content Fragments, you must use the Configuration Browser to enable:

  • Content Fragment Models - mandatory
  • GraphQL Persisted Queries - optional
CAUTION
If you do not enable Content Fragment Models:

To enable content fragment functionality, you must do the following:

  • Enable the use of content fragment functionality by way of the configuration browser
  • Apply the configuration to your Assets folder

Enable Content Fragment Functionality in Configuration Browser enable-content-fragment-functionality-in-configuration-browser

To use certain Content Fragment functionality, you must first enable them by way of the Configuration Browser:

NOTE
Subconfigurations (a configuration nested within another configuration) are fully supported for use with Content Fragments, Content Fragment Models and GraphQL queries.
Just to note that:
  • After creating models in a subconfiguration, it is NOT possible to move or copy the model to another subconfiguration.

  • A GraphQL endpoint is (still) based on a parent (root) configuration.

  • Persisted queries is (still) saved relevant to the parent (root) configuration.

  1. Navigate to Tools, General, then open the Configuration Browser.

  2. Use Create to open the dialog, where you:

    1. Specify a Title.

    2. The Name becomes the node name in the repository.

      • It is automatically generated based on the title and adjusted according to AEM naming conventions.
      • You can adjust it if necessary.
    3. To enable their use select

      • Content Fragment Models
      • GraphQL Persisted Queries

      Define configuration

  3. Select Create to save the definition.

Apply the Configuration to your Assets Folder apply-the-configuration-to-your-assets-folder

When the configuration global is enabled for content fragment functionality, then applies to any Assets folder.

To use other configurations (that is, excluding global) with a comparable Assets folder, you have to define the connection. This connection is done by selecting the appropriate Configuration in the Cloud Services tab of the Folder Properties of the appropriate folder.

Apply configuration

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab