AppointmentExchanger.GetAppointmentForeignId Event
Occurs before an Appointment Exchanger retrieves information about a foreign ID of an appointment, i.e. its identifier in a third-party scheduler application with which appointment data are exchanged.
Namespace: DevExpress.XtraScheduler.Exchange
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Event Data
The GetAppointmentForeignId event's handler receives an argument of the ExchangeAppointmentEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Appointment |
Gets the appointment for which the event was raised.
Inherited from Appointment |
Id | Gets or sets the foreign appointment Id. This Id is the appointment identifier in the database of the third-party scheduler application with which appointment data is exchanged. |
#Remarks
Handle the GetAppointmentForeignId event when implementing appointment synchronization with a custom application to obtain and modify the foreign ID for the appointment being exported or imported. Note that usually you do not need to handle this event, since the foreign ID is automatically stored and retrieved from the data field specified via the DevExpress.XtraScheduler.Exchange.AppointmentSynchronizer.ForeignIdFieldName property.