Skip to content

Latest commit

 

History

History

specialevents

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Special Events Content

Use Case

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.

Architecture Diagram

Channel Assignment Priority Architecture Diagram

How to Use the Sample Content

  • 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)

Technical Details

Compatibility

AEM version Compatibility Comments
6.3
6.4

Features built upon

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

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

  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. Add locations as needed, along with their respective display
  5. Create local channels in each location
  6. Assign the local channels to the local displays and make sure to set the priority to 2 so it takes over the master sequence
  7. Enable day parting by adding a schedule expression to the assignment, for instance:
    • before 9:00 am for 12am to 9am
    • after 9:00 pm for 9pm to 12am
    • after 11:00 am and before 1:00 pm for 11am to 1pm
    • after 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

Sample Content Links