CData Python Connector for Microsoft SharePoint

Build 25.0.9454

CreateFolder

Creates a new folder in a specified SharePoint document library. Helps organize files within a structured hierarchy.

Input

Name Type Required Description
RelativeURL String True The server-relative URL where the new folder will be created. Defines the parent directory for the new folder.
FolderName String True The name of the new folder to be created. Helps identify and organize files within SharePoint.
SiteURL String False The base URL of the SharePoint site where the folder should be created. If provided, this value overrides the default site URL specified in the connection properties.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the folder creation operation was successful. Returns 'true' for success and 'false' for failure.
Id String A unique identifier assigned to the newly created folder. Useful for referencing the folder in subsequent operations.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454