Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

Schedule Template

event.activate()

Change the active schedule status for an event

See Also

rb.schedule.event.create, remove()   

Syntax

number = rb.schedule.event.activate(ID, activate)

Parameters

The 'event.activate' method takes 2 parameters:

Name Type/Value Range/Length Description
IDnumber  Required. Unique ID of the record to be changed
activatebool  Required. Set to true to attempt to activate the new event automatically

Results

The 'event.activate' method returns number:

Type/Value Range/Length Description
number   Return -1 if the request can't be satisfied, otherwise the ID of the event

Remarks

Change the fields in a specific record.

Whitebeam release 1.3.36
(loadtime : 91ms)