Notes on Upgrading to SAAPI Version 7.3
This topic describes in detail several changes that could affect existing
SAAPI programs.
Synchronous Events
The following changes have been made to Synchronous Events:
DBRowValidate Before event: (New synchronous event)
Validates cells when a row is committed.
DBRowDialog Before event: (New synchronous event) Controls
visibility and read-only state of columns in core DBRow Dialog.
ItemModify Before and After events: (erProperty_RowData)
These events are now fired when a row is saved/committed. This is done
to allow a handler watching ItemModify events to notice DBRow data changes.
The new DBRowValidate_Before event to access new values prior to the row
being committed.
Miscellaneous
CreateRoom() from an existing IERURoom--You must now
be a coordinator (or administrator) to copy an eRoom that is not a template.
The member manager object retrieved from IERURoom was
returning members of the community rather than members of the eRoom. Now,
only room members are returned.
erSynchEventType_EditDBRow synchronous event was being
sent to all handlers that support erSynchEventType_EditDBRow. Now returns
only the specific handler specified in IERUDatabase::SynchronousEventHandlerID
(or from database dialog).
ItemModify before and after events are now fired when
a DBRow item is changed.
IERUCalendar::CreateEvent() now sets IERUCalendarEvent::HasTime
to True if the Date contains a fractional time portion. Likewise, setting
IERUCalendarEvent::Date sets ::HasTime appropriately. Note that if an
event occurs at midnight, you set the ::HasTime property to True yourself.
|
|