Understand Screens
AEM Screens as a Cloud Service is a digital signage solution that allows marketers to create and manage dynamic digital experiences at scale. With AEM Screens as a Cloud Service, you can create engaging and dynamic digital signage experiences intended to be consumed in public spaces.
By installing the AEM Reference Demos Add-on, you automatically have We.Cafe content for AEM Screens available to you in your demo authoring environment. The steps described in the Deploy a Demo Screens Project help you enable the full AEM Screens experience by publishing that content and deploying to media players, and so on.
Understand the Demo Content
The We.Cafe coffee shop is composed of three shops in three locations in the US. All three shops have three similar experiences:
- A menu board above the counter with two or three vertical panels
- An entrance display facing the street with one horizontal or vertical panel inviting customers into the shop
- A quick self-order kiosk booth to bypass the queue with one vertical tablet
The New-York location is assumed to be in a smaller shop that does not have much space, and as such:
- The menu board only has two vertical panels instead of three for San Francisco and San Jose
- The entrance display is positioned vertically instead of horizontally
Cafe Layouts
The We.Cafe locations have the following layouts.
Entrance
The entrance display is day-parted, and just changes the first image from morning to afternoon. On each pass of the sequence, it also advertises a different special coffee preparation, using a metered embedded sequence to play a different item each time.
The last image on the entrance channels is also targeted (that is, dynamically changed) based on outside temperature, which can be simulated as described in the Create Simulated Data Source section.
Deploy a Demo Screens Project
To use the demo content in the sandbox that you created in the Create Program step, a site must be created based on a template.
If you have not already created a We.Cafe demo site, simply follow the same steps as in the Create Demo Site section. When selecting the template, simply choose the We.Cafe Website Template.
After the wizard completes, you find the content deployed under Sites and you can navigate and explore as you would any other content.
Now that you have We.Cafe demo content, you have a choice about how you want to test AEM Screens:
- If you only want to explore the content within the AEM Sites console, simply start exploring and discover more in the Additional Resources section; no more action is required.
- If you want to experience the full dynamic features of AEM Screens, continue to the next section, Dynamically Change Screens Content.
Dynamically Change Screens Content
Just like AEM Sites, AEM Screens can change content dynamically based on context. The We.Cafe demo has channels configured to show different content depending on the current temperature. To simulate this experience, you must create your own simple weather service.
Create Simulated Data Source
Because it is difficult to change the weather during a demo or while testing, temperature changes must be simulated. A weather service is simulated by storing a temperature value in a Google Sheet spreadsheet which AEM’s ContextHub calls to retrieve the temperature.
Create Google API Key
First, you must create a Google API key to facilitate the exchange of data.
-
Log on to a Google account.
-
Open up the Cloud Console using this link
https://console.cloud.google.com
. -
Create a project by clicking the current project name in the top-left of the toolbar after the Google Cloud Platform label.
-
In the project selector dialog, click NEW PROJECT.
-
Give the project a name and click CREATE.
-
Make sure that your new project is selected and then using the hamburger menu in the dashboard of the Cloud Console, select APIs & Services.
-
In the left panel of the APIs & Services window, click Credentials at the top of the window, then click CREATE CREDENTIALS and API Key.
-
In the dialog box, copy your new API key and save for later use. Click CLOSE so you can exit the dialog box.
Enable Google Sheets API
To allow the exchange of Google Sheets data using your API key, you must enable the Google Sheets API.
-
Return to the Google Cloud Console at
https://console.cloud.google.com
for your project and then use the hamburger menu to select APIs & Services > Library. -
In the API Library screen, scroll to find your search for Google Sheets API, then click it.
-
In the Google Sheets API window, click ENABLE.
Create Google Sheets Spreadsheet
Now you can create a Google Sheets spreadsheet to store your weather data.
-
Go to
https://docs.google.com
and create a Google Sheets spreadsheet. -
Define the temperature by entering
32
in cell A2. -
Share the document by clicking Share at the top-right of the window and under Get link, click Change.
-
Copy the link for the next step.
-
Locate the sheet ID.
-
The sheet ID is the random string of characters in the sheet link that you copied after
d/
and before/edit
. -
For example:
- If your URL is
https://docs.google.com/spreadsheets/d/1cNM7j1B52HgMdsjf8frCQrXpnypIb8NkJ98YcxqaEP30/edit#gid=0
- The sheet ID is
1cNM7j1B52HgMdsjf8frCQrXpnypIb8NkJ98YcxqaEP30
.
- If your URL is
-
-
Copy the sheet ID for future use.