Force Day View of Calendar Published from Outlook Web Access

Is there a way to force the view of the Outlook calendar published through Outlook Web Access 2013 so that it displays the day or week view without the user having to click on an icon to change the view?  I want to display a day view calendar (or week view) by default.  I can successfully publish the calendar but a user has to click the icons to change the view.  I want to display the calendar in an iframe on a digital sign and the user won't have a way to click or touch the icon.  Are there parameters that can be passed in the url?

March 31st, 2015 7:55pm

Hello Brian,

I'd suggest asking OWA specific questions on the Exchange Server for Developers forum instead. Also you may find the Exchange Server 2010 Outlook Web App Customization SDK helpful.

As for Microsoft Office Outlook you can use the CurrentView property of the Explorer or Folder classes which returns a View object representing the current view. To obtain a View object for the view of the current Explorer, use Explorer.CurrentView instead of the CurrentView property of the currentFolder object returned by Explorer.CurrentFolder.

The View object allows you to create customizable views that allow you to better sort, group and ultimately view data of all different types. There are a variety of different view types that provide the flexibility needed to create and maintain your important data.

  • The table view type (olTableView) allows you to view data in a simple field-based table.
  • The Calendar view type (olCalendarView) allows you to view data in a calendar format.
  • The card view type (olCardView) allows you to view data in a series of cards. Each card displays the information contained by the item and can be sorted.
  • The icon view type (olIconView) allows you to view data as icons, similar to a Windows folder or explorer.
  • The timeline view type (olTimelineView) allows you to view data as it is received in a customizable linear time line.

Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 8:01pm

You can do this using EWS to modify the CalendarViewTypeDesktop property in OWA.ViewStateConfiguration configuration object which is located in the FAI (Folder associated Items) collection of the Root Folder eg

The value enums are

1 = Days

2 = Week

3 = Work Week

4 = Month

            FolderId rfFld = new FolderId(WellKnownFolderName.Root,"gscales@domain.com");
            UserConfiguration OWAVeiwStateConfig = UserConfiguration.Bind(service, "OWA.ViewStateConfiguration", rfFld, UserConfigurationProperties.All);
            if (OWAVeiwStateConfig.Dictionary.ContainsKey("CalendarViewTypeDesktop"))
            {
                OWAVeiwStateConfig.Dictionary["CalendarViewTypeDesktop"] = 3;
            }
            else {
                OWAVeiwStateConfig.Dictionary.Add("CalendarViewTypeDesktop", 3);
            }
            OWAVeiwStateConfig.Update();
Cheers
Glen

April 2nd, 2015 12:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics