Acme Corp is a restaurant franchise that focuses on local produces. The company has a global menu for all its stores, but each local franchise has the option to offer additional options for breakfast or in the afternoon. Consider for example that you wish to create a local Californian offering that includes a coffee shop option in the morning with breakfast offerings, while the Londonian franchises will have tea time offerings in the afternoon.
This how-to project walks you through how to achieve these local overrides using the concept of channel assignment priorities.
The project has a master sequence managed at the global level by the franchise. Individual regions/branches/stores can create local channels and have them overwrite the
This module contains a sample on how to leverage channel priorities to manage local content overrides in a Screens project. It will use a master channel for the whole project with local channels having higher priorities at specific times of the day and overwriting the master sequence by using a higher priority in the channel assignment.
- Modify the global content in the master sequence by editing the Master Channel
- Modify the location specific content by editing Local Channel 1 or Local Channel 2
- Modify the day parting and priorities for the assignments by respectively editing the Branch Office 1 Display and Branch Office 2 Display
- Changing the Schedule expression and the active from and active until dates lets you adjust the day parting
- Changing the priority lets you decide which channel takes over in case of scheduling overlaps (higher priority takes over)
AEM version | Compatibility | Comments |
---|---|---|
6.3 | ✅ | |
6.4 | ✅ |
The solution uses:
- a main sequence channel for the default franchise content assigned with priority
1
to all displays - individual sequence channels for the local store overrides assigned to the local display with a higher priority
2
- some schedule expression to let the local store overrides run in the morning, respectively in the afternoon
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
- Create a screens project
- Create a new sequence channel for the master sequence
- Edit the channel and add assets or components as needed.
- Add locations as needed, along with their respective display
- Create local channels in each location
- Assign the local channels to the local displays and make sure to set the priority to
2
so it takes over the master sequence - Enable day parting by adding a schedule expression to the assignment, for instance:
before 9:00 am
for 12am to 9amafter 9:00 pm
for 9pm to 12amafter 11:00 am and before 1:00 pm
for 11am to 1pmafter 9:00 and before 14:00 on Wed, Thu and Fri
for 9:00 am to 2:00 pm on every Wednesday, Thursday and Friday