How To: Create an Exchange Appointment Form

This topic shows you how to use the Appointment SmartObject of the Exchange Online Broker to create a form that adds an appointment in the attendees' Outlook calendars.

You must activate the Exchange Online feature to create an instance of the Exchange Online service type. See Exchange Online Feature Activation.

Appointment Form

Scenario

In this scenario, you build a Make an Appointment form using the Create method of the Appointment SmartObject. The Make an Appointment form captures appointment information such as the subject, start date, end date, and time zone of the appointment, and a list of attendees.

More properties are available from the Appointment SmartObject. See Exchange Online SmartObjects Reference for more information.

Steps

In the following steps you build a view and form based on the Appointment SmartObject using the Exchange Online service.

Setup Steps

The following steps set up the scenario from start to finish. If you want to skip the setup steps and view the topic step, go to Create an Exchange Appointment Form.

  1. Activate the Exchange Online Feature
    1. Before you start creating the Make an Appointment form, you must activate the Exchange Online feature.
    2. Once activated, create the Make an Appointment view.
  2. Creating the Make an Appointment View
    1. Open the Designer and create a category folder called Appointments.
    2. Create a new Item View called Make an Appointment.
    3. On the Data Source option select the Appointment SmartObject.
    4. Click Create.
  3. Click the Create the Labels and Controls option in the empty view.
    1. Click the Create Labels and Controls link.
    2. Select to include the Subject, Body, Start Date, End Date, and Required Attendees fields.
    3. The view looks like the following:
  4. Configure the Start Date Control
    1. Select the Start Date calender control and click the Picker Type setting.
    2. Configure the control to include the Date and Time, selecting hh:mm:ss tt as the Time format. Click OK.
  5. Configure the End Date Control
    1. Select the End Date calender control and click the Picker Type setting.
    2. Configure the control to include the Date and Time, selecting hh:mm:ss tt as the Time format. Click OK.
  6. Configure the Required Attendees Control
    1. Select the Required Attendees text area control and change the Watermark to Type a semicolon delimited list of email addresses.
    2. The controls watermark displays as follows.
  7. Configure the Time Zone Control
    1. Select the view Toolbox tab and drag a Label control on the empty cell below End Date.
    2. Change the label Name to Time Zone Label.
    3. Enter Time Zone in the Text field.
    4. Select the Drop-Down List control from the Toolbox and drag it below the Time Zone Label.
    5. Configure the Drop-Down List to use Time Zone for the field.
    6. Click the ellipses of the Type option in the Data Source section.
    7. On the Configure Data Source page, click the ellipsis on the SmartObject field.
    8. Select the Time Zone SmartObject as the data source and click OK.
    9. Select Name from the Value drop-down. Click OK to complete the data source configuration.
    10. Click on the empty space below the Time Zone drop down in the view and select Insert Row Below from the top view menu icons.
    11. Select the Methods tab in the toolbox and drag the Create method into the new row.
    12. Your Make an Appointment view should look similar to the following.

Create an Exchange Appointment Form

The steps below show you how to create the form used in this scenario.

  1. Create the Make an Appointment Form
    1. From the Make an Appointment view page, select the Design a new Form option.
    2. Specify Make an Appointment as the Name and Description and click the Create button.
    3. Click the (Enter View Title) area and type Make an Appointment.
    4. Click Finish.
  2. Test the Make an Appointment Form
    1. Select Run from the Make an Appointment form.
    2. Specify a Subject and Body.
    3. Specify a Start Date and End Date, making the appointment for tomorrow and the end time value an hour later than the start.
    4. Use your own email address for the Required Attendees value (so the appointment is added to your Outlook calendar). When you're adding multiple recipients, separate them with semicolons.
    5. Select your time zone from the Time Zone drop-down.
    6. Click Create.
    7. Open Outlook and check tomorrow's calendar where you see the new appointment.
Review

In this topic you learned how to create a view and a form based on the Exchange Online SmartObject called Appointment. You used this form to create appointments in your Exchange calender.