GDocsService::uploadDocument
Description
In BBj 11.0 and higher, this method uploads a document to Google Docs.
Syntax
Return Value |
Method |
GDoc |
uploadDocument(string fileName, string title, string type, string folder, boolean convert) |
GDoc |
uploadDocument(string fileName, string title, string type, string folder, boolean convert, boolean overwrite) |
Parameters
Variable |
Description |
fileName |
Specifies the password that will be used for the Google Apps authentication. |
title |
Specifies the title of the Google document. |
type |
Specifies the type of the Google document. |
folder |
Specifies the folder of the Google document. |
convert |
Specify true (1) if the document should be converted to a Google document type, otherwise specify false (0). |
overwrite |
Specify true (1) if the Google document should be overwritten if it already exists, otherwise specify false (0). The default is to overwrite. |
Return Values
Returns a GDoc BBj CustomObject that can be used to manipulate the Google Document.
Remarks
None.
Example
|