Spreadsheet creator

[sdk/google/drive/Spreadsheet creator]


Creates new spreadsheet on the given shared folder. Example:

  1. session Id receives "drive_session"@0

  2. file meta data receives { "name": "Test from CRANQ dynamic", "parents": [ "FOLDER_ID" ] }@0

  3. supports all drives receives false@0

  4. done sends {"fileid": "1_ewweewweFileID"}@0


Keywords: google, api, sdk, drive, file, create, spreadsheet

Input ports

  • session Id: string

    Receives the session id of the drive action. Example: "drive_session"

  • file meta data: {string: any}

    Receives the metadata of the spreadsheet creation. Example in case of shared drive: { "name": "Test from CRANQ dynamic", "driveId": "0AFITUOLHhs3TUk9PVA", "corpora": "drive", "parents": [ "FOLDER_ID" ] } Example in case of shared folder: { "name": "Test from CRANQ dynamic", "parents": [ "FOLDER_ID" ] }

  • supports all drives: boolean

    Receives supports all drives parameter whether create should support both drives and shared drives. Example: "true"

Output ports

  • done: {"fileid": string}

    Sends the result of the action. Eg. {"fileid": "1_ewweewweFileID"}

  • error: {"error": string}

    Sends the error which happened during the execution of the action. Eg. {error: "Something went wrong!"}

Last updated