Description:
I'm planning to implement a multi-user scheduling smart client application, which should be capable of synchronizing the data with Microsoft Outlook. Each user has a unique name (UserId).
How to provide the capability to manage only specific appointments using the current user login information?
Also, how to perform an Outlook synchronization per user?
Answer:
To identify an appointment with a particular end-user, define a custom field mapping for the UserID. Then, populate the DataSet instance using the UserID as the query parameter of the TableAdapter. Then, update the SchedulerStorage.DataSource property using the DataSet instance.
To update, insert or delete a record, you should handle the SchedulerStorage.AppointmentsInserted, SchedulerStorage.AppointmentsChanged and SchedulerStorage.AppointmentDeleting events, then call the TableAdapter.Update method.
When synchronizing appointments with Microsoft Outlook, a UserProperty is used to save the UserID value along with Outlook appointment, so that it can be identified when performing the synchronization. The UserProperty represents a custom property of an Outlook Appointment item.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Can you please leave a detailed example of this? As this is 9 years old it may have change. But if you can please post a detailed example of this method. Thank you
Hello João,
The actual example is attached to the current article. See also the example page: How to synchronize appointments with Outlook in a multi-user application. Please feel free to contact us if you have further questions regarding this approach.