Skip to content

Latest commit

 

History

History

experiencefragments

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Content-Reuse with Experience Fragments

Use Case

Acme Corp is a shoe store franchise. It uses multiple channels to advertise its products to the customers. It has a website with the product catalog, a mobile app and in-store digital signage screens. There are obvious variations in the layout and content between these channels, but the company does want to re-use the product catalog pages across all the channels so they don't have to re-create the content each time. In essence, the marketing team designs the product pages for the website, and then re-uses the pages with slight modifications in the mobile app (different layout) and on the digital signage screens (no navigation menus and no customer interaction).

This how-to projects walks you through how to achieve these content variations using the concept of experience fragments and 2 different approaches based on live copies and building blocks.

The project presents 2 different approaches of using experience fragments with various variations for the different communication channels. The 1st approach uses live copies for the various variations, making it easy to replicate changes in the master fragment (i.e. the website) to the other variations such as the digital signage screens. The 2nd approach is based on building blocks which define a static experience to which content is added specifically for each variation.

Architecture Diagram

Experience Fragments Architecture Diagram

How to Use the Sample Content

Live Copies

Building Block (6.4 only)


Technical Details

Compatibility

AEM version Compatibility Comments
6.3 Building blocks do not exist is 6.4 and will fail to display in the experience fragment variations. Also, 6.3 does not let you convert existing content in Sites to new experience fragments, so you have to manually create the fragments and then assign each variation to the proper communication channel.
6.4

Features built upon

The solution uses:

Manual installation

This module requires HowTo project and is part of the install process. Follow instructions here.

If you still want to install the module individually, you can run:

mvn clean install content-package:install

Manual content setup

Start by familiarizing yourself with Experience Fragments for Sites and make sure to create a fragment to be re-used.

  1. Create a screens project
  2. Create a new sequence channel for the master sequence
  3. Edit the channel and add assets or components as needed.
  4. Go to the Experience Fragments Console
  5. Select the Live Copy - Experience Fragment
  6. Open the Create dropdown on the top right and click Variation as live-copy
  7. Select the Content reuse — Web variation as source, then give a name and title to the new Screens variation and validate
  8. Edit the Content reuse — Screens variation and modify it as needed
  9. Go back to your sequence channel and edit it
  10. Add a new Experience Fragment component and point it to the Content reuse — Screens variation to use.
  11. Modify the Content reuse — Web variation to add new changes
  12. Select the Content reuse — Screens variation
  13. Open the References side rail, select the blueprint and click Rollout to apply the changes to the Screens variation

Sample Content Links