Using the Microsoft Office 365, how can I upload a file directly in the Documents drive from a SharePoint Site? (and not in other folder from Documents)
Upload File activity requires a destination folder, which in my case should be the “Documents” drive, but I couldn’t make it work.
You can use the “SharePoint” activity package in UiPath to upload a file to a SharePoint site’s document library. Here are the steps you can follow:
- Open your UiPath Studio and create a new project.
- Install the “SharePoint” activity package from the “Manage Packages” section of UiPath Studio.
- Drag and drop the “SharePoint Application Scope” activity onto the workflow.
- In the properties panel, fill in the SharePoint site URL, username, and password.
- Add the “Upload File” activity within the SharePoint Application Scope activity.
- In the “Upload File” activity properties, specify the SharePoint library name where you want to upload the file and the local file path of the file to be uploaded.
- Run the workflow to upload the file to the SharePoint site.