SynchronizationEvents.RemoveEvent method

Official Content
This documentation is valid for:

If it is needed to remove some registry of the GXPendingEvents table for some reason, it is possible to do that using the RemoveEvent method.

Syntax

SynchronizationEvents.RemoveEvent(&EventGUID)

Where:

&EventGUID
    Is the Identifier of an event that is in the GXPendingEvents table.

Description

As explained in the SynchronizationEvents external object document, the GXPendingEvents table will be used to store all the changes made in the device in order to send them later to the server. With this method it is possible to remove a specific event from the GXPendingEvents table.

Example

Event 'Remove Event'
    Composite
        &EventGUID = &SynchronizationEvent.CurrentItem.EventId
        SynchronizationEvents.RemoveEvent(&EventGUID)
    EndComposite
EndEvent

Where &SynchronizationEvent is the result of the GetEvents method .

Availability

As from GeneXus Tilo Beta 2

Scope

Objects Smart Devices objects, Offline procedures
Languages .NET, Java, Ruby
Platforms Android platformApple Smart Devices (iOS)

See also