Delete a Folder from SharePoint List or Library

To delete a folder from a SharePoint list or library, ​ do the procedure in this topic.

Screen



Good to Know

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, go to the Activity Library, and open the SharePoint SharePoint icon tab.
      2. On the SharePoint SharePoint icon tab, drag the Delete Folder Delete Folder icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Delete Folder Delete Folder icon.

Procedure

  1. On the Delete Folder Configuration screen, in the SharePoint field, select your SharePoint access token.

    To create a new access token, click Add Token Add Token icon. For more information, refer to Access Token for SharePoint.

  2. Complete these fields.
    Field Name Definition

    Site

    Function:
    Specifies the URL for your SharePoint site.
    Accepted Values:
    A valid SharePoint site URL
    Default Value:
    None
    Accepts Process Data Variables:
    Yes
    Example:

    List/Library

    Function:
    Specifies the name of the SharePoint library or list.
    Accepted Values:
    A valid SharePoint library name or list name.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Folder

    Function:
    Specifies the name of the folder to delete.
    Accepted Values:
    The name of your folder.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes