Creating Content Fragments Headless Quick Start Guide

Learn how to use AEM’s Content Fragments to design, create, curate, and use page-independent content for headless delivery.

What are Content Fragments?

Now that you have created an assets folder where you can store your Content Fragments, you can now create the fragments!

Content Fragments allow you to design, create, curate, and publish page-independent content. They allow you to prepare content ready for use in multiple locations and over multiple channels.

Content fragments contain structured content and can be delivered in JSON format.

How to Create a Content Fragment

Content authors will create any number of Content Fragments to represent the content that they create. This will be their main task in AEM. For the purposes of this getting started guide, we will only need to create one.

  1. Log into AEM as a Cloud Service and from the main menu select Navigation -> Assets.

  2. Tap or click the folder you created previously.

  3. Tap or click Create -> Content Fragment.

  4. The creation of a Content Fragment is presented as a wizard in two steps. First select which model you wish to use to create your content fragment and tap or click Next.

    Select Content Fragment Model

  5. Provide a Title, Description, and Tags as necessary and tap or click Create.

    Create Content Fragment

  6. Tap or click Open in the confirmation window.

    Content Fragment created confirmation

  7. Provide the details of the Content Fragment in the Content Fragment Editor.

    Content Fragment Editor

  8. Tap or click Save or Save & close.

Content Fragments can reference other Content Fragments, allowing for a nested content structure if necessary.

Content Fragments can also reference other assets in AEM. These assets need to be stored in AEM before creating a referencing Content Fragment.

Next Steps

Now that you have created a Content Fragment, you can move on to the final part of the getting started guide and create API requests to access and deliver content fragments.

TIP

For complete details about managing Content Fragments, see the Content Fragments documentation

On this page