Custom Post Types & Taxonomies
30-45 minIntermediate
In AEM, 'Custom Post Types' are implemented using Content Fragment Models or Experience Fragments to structure reusable content.
Prerequisites
- AEM 6.4+ or AEM as a Cloud Service
- Permissions to access Tools > Assets
Intermediate Recommended
Content Fragment Models
Structured data models.
1
Create Model
1
Navigate to Tools > Assets > Content Fragment Models.
2
Create a new model (e.g., 'Author Bio', 'Product Spec').
3
Drag and drop data types (text, date, reference) to define the schema.
2
Enable on Folder
1
Go to Assets > Files.
2
Select a folder, open Properties > Cloud Services.
3
Apply the configuration containing your models.
3
Create Fragments
1
Enter the folder, click Create > Content Fragment.
2
Select your model and populate the data.
Verification Checklist
- Verify the model appears in the 'Create' menu within the allowed folder.
- Check that the exposed JSON (via .model.json) contains the correct structure.