Creating an Assets Folder - Headless Setup creating-an-assets-folder

Use AEM Content Fragment Models to define the structure of Content Fragments, the basis of your headless content. Content Fragments are then stored in assets folders.

What is an Assets Folder? what-is-an-assets-folder

Now that you have created Content Fragment Models that define the structure that you want for your future Content Fragments, you are probably excited to create some fragments.

However you will first need to create an assets folder where you will store them.

Assets folders are used to organize traditional content assets such as images and videos, together with Content Fragments.

How to Create an Assets Folder how-to-create-an-assets-folder

An administrator would only need to create folders occasionally to organize content as it is created. For the purposes of this getting started guide, we only need to create one folder.

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

  2. Select Create > Folder.

  3. Provide a Title and a Name for your folder.

    • The Title should be descriptive.

    • The Name becomes the node name in the repository.

      • It is automatically generated based on the title and adjusted according to AEM naming conventions.
      • It can be adjusted if necessary.

    Create folder

  4. Select the folder you created by hovering and tapping the check mark. Then select Properties from the toolbar (or use the p keyboard shortcut).

  5. In the Properties window, select the Cloud Services tab.

  6. For the Cloud Configuration Select the configuration you created previously.
    Configure assets folder

  7. Select Save & Close.

  8. Select OK in the confirmation window.

    Confirmation window

You can create additional subfolders within the folder you created. The subfolders will inherit the Cloud Configuration of the parent folder. This can be overridden however if you want to use models from another configuration.

If you are using a localized site structure, you can create a language root below your new folder.

Next Steps next-steps

Now that you have created a folder for your Content Fragments, you can move on to the fourth part of the getting started guide and create content fragments.

TIP
For complete details about managing Content Fragments, see the Content Fragments documentation
recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab