Difference between revisions of "DeleteEvent"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 26: | Line 26: | ||
Functions.deleteEvent(eventID); | Functions.deleteEvent(eventID); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<noinclude> | |||
[[Category:Event and Task Management]] | [[Category:Event and Task Management]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:32, 14 December 2011
- Functions.deleteEvent(String eventId)
- Deletes the event for the eventId.
- To retrieve the ID of the event to be deleted, use Functions.searchRecords() API.
Syntax
Result = Functions.deleteEvent(String eventID)
Parameters
- eventID
- The identifier of the event
Return
- Result object
- Example
- This example invokes deleteEvent to remove the event identified by eventID.
String eventID = ""; // Some code to populate the eventID, through searchRecords/getRecord API Functions.deleteEvent(eventID);