Content Fragments vs Experience Fragments

Published
Adobe Experience Manager (AEM) provides powerful tools for managing and delivering content efficiently. Two essential components in AEM are Content Fragments (CF) and Experience Fragments (XF). While both are used to create reusable content, each serves a distinct purpose and offers unique capabilities.

Create Content Fragment Programmatically

Published
Creating a content fragment programmatically requires setting up a system user with Read permission for the content fragment model and Read, Modify, Create permissions for the asset folder where the content fragment will be stored. Additionally, ensure the content fragment model and asset folder are created for saving the content fragment.