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

System Template

create() - Available since version 1.3.12

Adds a file.

See Also

rb.file.get()    rb.file.modify()    rb.file.remove()   

Syntax

number = rb.file.create(newfileInfo, contactIDs)

Parameters

The 'create' method takes 2 parameters:

Name Type/Value Range/Length Description
newfileInfostruct fileInfoTypesee definition
contactIDsarray of numbersValid contactID Optional. List of contact IDs to which the new file should be linked.

Available from version : 1.3.27


Results

The 'create' method returns number:

Type/Value Range/Length Description
number Valid fileID The identifier of the added file.

Remarks

A file is created.

Whitebeam release 1.3.36
(loadtime : 64ms)