![]() Go to AEM Start > Tools > Assets > Content Fragment Models > fragmentexamples > Create.In order to fulfill the requirements of the user story we need to display a list of movies. In the “Cloud Configuration” field select “fragmentexamples”.Edit the properties of the fragmentexamples folder.Next we need to apply our fragmentexamples configuration to our fragmentexamples DAM folder so that we can create content fragments with custom schemas within this folder. Go to AEM Start > Assets > Files > Create > FolderĪpply the fragmentexamples configuration to the fragmentexamples DAM folder.We will want to create a DAM folder for storing all of our content fragments. ![]() Check the “Content Fragment Models” checkboxĬontent fragments are stored in the AEM DAM and are simply treated as an asset like any image or pdf.Go to AEM Start > Tools > General > Configuration Browser > Create.AEM configurations allow you to do many things such as editable templates, contextual site configurations, and content fragment configurations. The first step is to create the configuration for our sample project, fragmentexamples. ![]() You can also simply clone the fragmentexamples project, install with “mvn clean install -PautoInstallPackage” and then set up content fragments by following these steps: Create the fragmentexamples configuration For this example, you will need to set up movie content fragments detailed within the AEM Content Fragments in the Wild and AEM Content Fragments as an API blog posts to generate the content fragment API that we will be using. ![]() In this blog post, we’ll use a simple React app to access content fragment JSON data exposed via a content fragment API. ![]()
0 Comments
Leave a Reply. |