UiPath Documentation
activities
latest
false

Productivity activities

Create Folder

UiPath.MicrosoftOffice365.Activities.Files.CreateFolderConnections

Description

Creates a folder at the specified location in OneDrive or SharePoint.

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft OneDrive & SharePoint - The connection for the Office 365 account to use in the activity.
  • Folder name - The name of the new folder. This property supports String variables and string formatted values. Select the plus menu to switch to the field:
    • Folder Path - The relative folder path to create (e.g. a\b\c). Intermediate segments are created automatically. Conflict resolution applies only to the last segment.
  • Parent folder - The parent folder of the new folder. Browse the OneDrive or SharePoint folders and select a parent folder. This field accepts IResource input. Use the plus menu to select one of the following options:
    • Reload Folder Data - Select this option if you have modified your folders and need to retrieve the latest data.
    • Enter ID - This option displays the following fields:
      • File or folder ID - The ID of the parent folder. This field supports String variables and string formatted values.
      • SharePoint site address - The address of the SharePoint site that contains the folder. This field supports String variables and string formatted values.
      • SharePoint document library - The document library that contains the folder. This field supports String variables and string formatted values.
    • Enter Url - This option displays the following field:
      • File or folder Url - The URL of the parent folder. This field supports String variables and string formatted values.
    • Use Folder Variable - Enter a variable for the parent folder.
  • If folder already exists - Specifies what happens if a folder with the same name already exists in the destination folder. Select one of the following options from the dropdown list:
    • Don't replace - The existing folder is kept and no changes are made.
    • Auto rename - The new folder is created with a different name to avoid conflicts.

Output

  • Folder - Reference to the new folder the activity added to use in other activities, such as Move File/Folder.

Example

For more details, also check the following resources:

  • Description
  • Project compatibility
  • Configuration
  • Output
  • Example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated