Official Content

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 Objects for Native Mobile applications development, Offline procedures
Languages .NET, Java, Ruby
Platforms Android platformApple platform

See also

 





Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant