Configure a SharePoint create folder activity

Use the following procedure to configure a SharePoint create folder activity.

  1. Add an activity to the map.

    By default, the Configuration tab is open in the properties panel of the activity.

  2. Change the default Name of the activity to something meaningful.
  3. On the Type list, select Microsoft > SharePoint create folder.
  4. Configure the following properties.
    Location
    SharePoint site

    The SharePoint site in which to create a folder.

    Relative path

    The location on the SharePoint site where the new folder will be created. The location can be a dynamic variable (process or server) or a static value.

    Folder name

    The name of the new folder. The name can be a dynamic variable (process or server) or a static value.

    Use folder if already exists

    If selected, uses the existing folder if one with the same name already exists in the selected location. At runtime, the job created on this activity is completed and the existing folder is retained.

    If clear, creates a new folder. If a folder with the same name exists, at runtime, the job fails.

    Result
    Folder ID

    The variable that holds the ID of the newly created folder. This folder ID automatically retrieves the folder identifier from SharePoint when the activity is completed.

    If TotalAgility finds insufficient privileges, incorrect parameter values, or a mismatch between the selected location and the TotalAgility Web service, the folder is not created, and the job is suspended at runtime. Error details appear in the event Log.

  5. Save the process map.