App Template - O365 Calendar

Prev Next

Overview

Scala Apps provide numerous templates that help you quickly create content for common playback needs. For general information about how Scala Apps work, refer to Learn About Scala Apps.

Included in the Scala App templates is the O365 template. The O365 template lets you show the current day's events on your display screens, which are automatically imported from a Microsoft Office 365 calendar that is external to your Scala environment. For example, if you have a conference room that is used for various different meetings every day, you could enter those meetings in a Microsoft Office 365 calendar and then use this template so that each day's agenda of meetings is automatically shown on a display screen that is mounted near the door to that conference room.

The event information that appears on your display screens automatically updates whenever the information in the Microsoft Office 365 calendar is changed. Only the calendar events that are scheduled for the current day are displayed, and an event is automatically removed from your display screen once the event's scheduled end time is reached.

There are O365 Calendar templates available in both a portrait and landscape orientation. You should use a template with the orientation that matches how your display screens are mounted.

To use this Scala App, your players must have internet access.

If you want to show events on your display screens from a Google calendar or iCal file, use the Google Calendar / iCal template.

Demo

Play the video below for an example of the O365 Calendar template put into use.

Prerequisite: Create an App Registration in Azure

Before you can use the O365 Calendar template, first you need to create an app registration in Microsoft Azure to allow a connection between your Office 365 calendar and the Scala App.

As you complete the steps below to create an app registration, there are three pieces of information that you need to save and later enter in Content Manager to finish setting up this Scala App:

  • Client secret string

  • Client ID

  • Tenant ID

  1. Open portal.azure.com and log in as an administrator.

  2. Select App Registrations.

  1. Select +New Registration to create an app registration.

  2. Enter a name for the new app registration.

  3. For the Supported account types, select Accounts in this organizational directory only.

  1. Under Client credentials, select Add a certificate or secret.

  2. Select +New client secret.

  3. Enter a name and select an expiration period. You will need to update the client secret string before expiration, or the Scala App will stop working. Select Add.

  4. Copy the value of the client secret string and save it to be used later.

  5. In the left menu, under API Permissions, select +Add a permission.

  6. Select Microsoft Graph. Under Application Permissions, check Calendars.Read.

  7. Select Grant Admin Consent.

  8. In the left menu, select Overview, and copy and save the Client ID and Tenant ID to be used later.

Following the process above allows you to use the O365 Calendar Scala App to display the calendar events for any user account in your organization. However, to protect private information, you may want to limit access to only certain user accounts. For information about restricting access, refer to https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access.

Using the 0365 Calendar Template

After you create an App Registration in Azure, follow the steps below to use the 0365 Calendar template to create a message. Messages are the filled in templates that become autonomous media items which can be added to playlists. This means that once created, a message is no longer tied to the template, but still maintains the template properties.

After you create a message, you can find it in your media list and edit it at any time. For example, you can update the heading or images that appear on the message, and the changes will be automatically applied to that message in every playlist where it exists.

  1. Click the main menu

  2. In the menu, select Templates under Scala Apps. The App Templates page opens.

  1. Find the O365 Calendar template  that you want to use and click the Create Message button.

Make sure to choose a template in the correct orientation, either portrait or landscape, based on how your display screens are mounted.

If an Import button appears instead of Create Message, it means that the template does not yet exist on your system. Click the Import button to import the template on to your system. Once the import is successfully completed, the Creating New Message window appears. If you host Content Manager on-premise, your Content Manager server must have internet access in order to import Scala App templates (the server must be able to access www.apps.scala.com).

  1. The Creating New Message window opens.
    In the Name field, enter a name for the message.

  1. If you want to assign the new message file to workgroups, click the Assign Workgroup button. Assign an Owner workgroup and Shared workgroups as appropriate.

If a user belongs to the owner workgroup, the user can view, edit, and delete the entity.
If a user belongs to the shared  workgroup, the user can view and use the entity, but not edit nor delete it.
If a user does not belong to any of the  workgroups, the entity is hidden from the user.
If the entity is not assigned to any workgroup, all users can view, edit, and delete it (dependent on each user's role permissions).
Additionally, workgroup restrictions are enforced between entities in Content Manager. For example, if a playlist belongs to a certain workgroup, a media item must also belong to the same workgroup to be added to that playlist. Read more.

  1. If you want to set metadata values for the message, click the Metadata button and complete the metadata fields as desired. The metadata fields that are available reflect the media metadata that was created by your organization. Adding metadata values to the message allows it to be added to smart playlists. While regular playlists require you to add and remove media items manually, smart playlists are populated with media automatically based upon matching metadata criteria.

The Metadata button appears only if you are using Content Manager version 13.20 or newer. If you are using an older version, you can add metadata values to the message after you save it by opening the message's properties.

The remaining options  are slightly different depending on which O365 Calendar template you are using.

  1. In the Background Color field, select the background color that you want to appear on the message.

  2. In the Duration field, enter the number of seconds that you want the message to appear on screen before switching to the next media item in the playlist.

  3. In the Show Logo? field, select Yes if you want the Logo image to appear. Select No if you do not want any logo to appear on the message at all.

  4. In the Logo field, click the Select button to change the logo image that appears. The image that you want to use must be uploaded in Content Manager, using the same process that you would to upload any media item, so that it exists in your media list.

  5. In the Top Banner Image field, click the Select button if you want to choose a different image that appears on the message. The image that you want to use must be uploaded in Content Manager, using the same process that you would to upload any media item, so that it exists in your media list.

  6. In the Room Name field, enter the text that you want to appear at the top of the message. If you are displaying the calendar for a certain room, you might enter the name of that room.

  7. In the Calendar Email Address field, enter the email address for the user account that you want to display the calendar events for.

  8. In the O365 Tenant ID field, enter the tenant ID that you obtained from Azure when following the steps in the previous section.

  9. In the Client ID field, enter the client ID that you obtained from Azure when following the steps in the previous section.

  10. In the Client Secret field, enter the client secret string that you obtained from Azure when following the steps in the previous section.

  11. In the right pane:

    1. If you want to save the message without adding it to a playlist, click the Save New Message button. The message will be available in the media list, so that you can add it to any playlists at any time.

    2. If you want to save the message and also add it to a particular playlist, choose a playlist in the Select Playlist field, then click the Save & Assign Playlist button. In addition to adding the message to the playlist that you chose, the message will be available in your media list, so that you can add it to any other playlists at any time.