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.

TIP
For the full details of AEM Screens as a Cloud Service, see the Additional Resources section at the end of this document.

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
NOTE
Only the entrance display can be tested in the current version of the demo. Other displays will follow in a future version.
The kiosk is not included in the current version of the demo. It will be included in a future version.

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
NOTE
If you decide to connect to Screens Cloud Service in the Connect Screens as a Cloud Service section, create the locations as folders under displays. See the Additional Resources section at the end of this document for more information on displays.

Cafe Layouts

The We.Cafe locations have the following layouts.

We.Cafe layouts

NOTE
Measurements for the screens are in inches.

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.

We.Cafe template

After the wizard completes, you find the content deployed under Sites and you can navigate and explore as you would any other content.

We.Cafe 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.

  1. Log on to a Google account.

  2. Open up the Cloud Console using this link https://console.cloud.google.com.

  3. Create a project by clicking the current project name in the top-left of the toolbar after the Google Cloud Platform label.

    Google Cloud Console

  4. In the project selector dialog, click NEW PROJECT.

    New project

  5. Give the project a name and click CREATE.

    Create project

  6. Make sure that your new project is selected and then using the hamburger menu in the dashboard of the Cloud Console, select APIs & Services.

    APIs and Services

  7. In the left panel of the APIs & Services window, click Credentials at the top of the window, then click CREATE CREDENTIALS and API Key.

    Credentials

  8. 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.

  1. 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.

    API library

  2. In the API Library screen, scroll to find your search for Google Sheets API, then click it.

    API library search

  3. In the Google Sheets API window, click ENABLE.

    Google sheets API

Create Google Sheets Spreadsheet

Now you can create a Google Sheets spreadsheet to store your weather data.

  1. Go to https://docs.google.com and create a Google Sheets spreadsheet.

  2. Define the temperature by entering 32 in cell A2.

  3. Share the document by clicking Share at the top-right of the window and under Get link, click Change.

    Share sheet

  4. Copy the link for the next step.

    Share link

  5. 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.
  6. Copy the sheet ID for future use.