This is a migrated thread and some comments may be shown as answers.

[Solved] Exchange Provider and Public Folders

1 Answer 126 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paul Hopper
Top achievements
Rank 1
Paul Hopper asked on 24 Apr 2009, 09:01 PM
The networking guys are starting the transition from Exchange 2003 to Exchange 2007, so I finally get to play with using the Exchange provider with the RadScheduler.  So far, the initial setup using my personal email account has gone fairly smoothly and it's  pretty awesome how everything seems to work so well!  So on to my question...

How do I get it to work with public folders or to load another user's calendar (to which the logged in user has access rights in Exchange)?  The provider only takes a username, password, and domain along with the server URL.  I don't see how to specify a particular folder or path.  Looking at Telerik's source code for the Exchange provider, I do see that the DistinguishedFolderIdNameType enumerated date type includes an option for publicfoldersroot, but it doesn't appear to be used anywhere.

Similarly, I'd also like User A, who has access rights to User B's calendar, to be able to do so, but, again, I don't see where I can specify the alternate calendar location.

Has anyone figured either of those out?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 27 Apr 2009, 02:59 PM
Hi Paul,

We haven't tested such scenarios, but accessing other calendars should be possible.

The FindCalendarItems method currently queries only the authenticated users calendar:

DistinguishedFolderIdType[] folderIDArray = new DistinguishedFolderIdType[1];
folderIDArray[0] = new DistinguishedFolderIdType();
folderIDArray[0].Id = DistinguishedFolderIdNameType.calendar;
findItemRequest.ParentFolderIds = folderIDArray;


We can other calendars here as well:

// Identify which folders to search.
List<DistinguishedFolderIdType> folderIDs = new List<DistinguishedFolderIdType>();

DistinguishedFolderIdType ownCalendar = new DistinguishedFolderIdType();
ownCalendar.Id = DistinguishedFolderIdNameType.calendar;
folderIDs.Add(ownCalendar);

DistinguishedFolderIdType otherCalendar = new DistinguishedFolderIdType();
otherCalendar.Id = DistinguishedFolderIdNameType.calendar;

EmailAddressType otherMailbox = new EmailAddressType();
otherMailbox.EmailAddress = "other.user@contoso.com";


otherCalendar.Mailbox = otherMailbox;
folderIDs.Add(otherCalendar);

findItemRequest.ParentFolderIds = folderIDs.ToArray();

We're unable to test this at the moment, but we'll do so in the coming days. We'll also consider integrating such support or at least summarize it in a KB article.

Regards,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Paul Hopper
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or