IPWorks Cloud 2020 Android Edition

Questions / Feedback?

CreateFolder Method

Creates a new folder.

Syntax

public String createFolder(String name, String parentIds);

Remarks

This method creates a new folder with the specified Name and returns its Id. ParentIds can be a list of existing folder Ids to use as parents for the new folder, or empty string to create the folder at the root of the drive.

If the IncludeFolderProperties configuration setting is true when this method is called, the component will include the metadata held by the first item in the Resources collection when creating the folder. (Note that the Name and ParentIds passed to this method will take precedence.)

Google treats files and folders in the same way, and folders are included when listing resources. The GDriveResource.Type field can be used to determine if a resource is a folder or a file.

To list, delete, and update folders use the ListResources, DeleteResource, and UpdateResource methods.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Android Edition - Version 20.0 [Build 8265]