GDocService::getDocument
Description
In BBj 11.0 and higher, this method returns a GDoc object given the Google document information.
Syntax
Return Value |
Method |
GDoc |
getDocument(string resourceID) |
GDoc |
getDocument(string title, string type, string folder, boolean createIfNeeded) |
GDoc |
getDocument(string title, string type, string mimeType, string folder, boolean createIfNeeded) |
Parameters
Variable |
Description |
createIfNeeded |
Specify true (1) if the Google document should be created if it does not already exist, otherwise specify false (0) |
folder |
Specifies the folder of the Google document. |
mimeType |
Specifies the mime type of the Google document. |
resourceID |
Specifies the Google resource ID of the document. |
title |
Specifies the title of the Google document. |
type |
Specifies the type of the Google document. |
Return Values
Returns a GDoc BBj CustomObject that can be used to manipulate the Google Document.
Remarks
None.
Example
|