Microsoft Exchange calendars

Introduction to Microsoft Exchange calendars in ConSol CM

You can integrate a Microsoft Exchange calendar into ConSol CM. The calendar can be shown in the Calendar section on case, contact or resource pages or on the dashboard of the Web Client. The users can create new appointments, view existing appointments and edit existing appointments.

Integrating a Microsoft Exchange calendar

Perform the following steps to integrate a Microsoft Exchange calendar:

  1. Decide where to place the calendar. You can either place it in an object or on the dashboard:

    • Enable the Calendar section on the desired page (case, person, company or resource) using the page customization. You need to set the state attribute in calendar from hidden to expanded or collapsed.

    • Add a calendar widget to the dashboard by adding it to the layout attribute in widgetsGrid.

  2. Write the calendar script (type Calendar integration) on the Scripts page of the Web Admin Suite, and reference it in the page customization, calendarInitializationScript attribute of calendar, see Writing the calendar script.

  3. If the users should be allowed to create and edit appointments, set the editable attribute of calendar to true.

Writing the calendar script

The calendar script needs to return a map with the information to access the Microsoft Exchange server. The following parameters can be used in the script: 

Example script:

return [

name: 'Exchange Source',

'access.type': 'EXCHANGE',

'access.url': 'https://exchange1.server.net/EWS/Exchange.asmx',

'access.username': 'exchange-user',

'access.password':'exchange-password',

'access.domain': 'SSO',

'access.impersonation':'somebody@sso.server.net',

'access.version': '2013'

]

Code example 41: Example calendar integration script

Additional variables available in the script:

Configuring the calendar

The appearance and behavior of the calendar can be fine-tuned in the page customization. You can set the following attributes in calendar:

See http://fullcalendar.io/docs for further details.

Configuring the behavior after calendar events

You can define the behavior after the following events in the script referenced in the calendarEventHandlerScript attribute of calendar:

The following variables are available: