Skip to main content
Cadet | Tier 2
September 20, 2023
Question

How can you move/copy files in Sharepoint?

  • September 20, 2023
  • 5 replies
  • 508 views

Is it possible to automate either moving or copying/deleting files in Sharepoint with A360?

There is no action for this in the Sharepoint package.

I want to avoid having to use using Onedrive and work directly in Sharepoint.

5 replies

Ganesh Bhat
Most Valuable Pathfinder
Most Valuable Pathfinder
September 20, 2023

Hello,

We have some good actions in A360.

 

SharePoint delete file action (automationanywhere.com)

 

You can reach me through WhatsApp : https://wa.me/message/5B3COVB4TXWHO1 LinkedIn: https://www.linkedin.com/in/ganeshdhogale/ https://www.linkedin.com/company/ai-brahmaai/ YouTube: https://www.youtube.com/@aibrahma1150
Cadet | Tier 2
September 20, 2023

Thanks @Ganesh Bhat Yes sorry, you are right, there is an action for delete but no action for copy or move file. Any ideas how to automate that with A360?

Navigator | Tier 3
October 31, 2023

Hi All, 

can you guys post some sample code for downloading and uploading files from Sharepoint. I need to understand how to pass the parameters. 

 

regards

Madevan

Cadet | Tier 2
October 31, 2023

Thanks @Ganesh Bhat Yes sorry, you are right, there is an action for delete but no action for copy or move file. Any ideas how to automate that with A360?

Hi Laura,

Would it be possible in your case to utilise the download, upload and delete file actions on the SharePoint folders? Instead of copying, you could download the file in the local folder, upload it to the required SharePoint folder and then delete it from the local folder. Similarly, to move the file, you could download the file in the local folder, upload it to the required folder and then delete it from the local and SharePoint folder.

If there are any data privacy/security concerns then it might be better to explore other options.

 

Thanks,

IS89

satyasaikrishna0209
Navigator | Tier 3
October 31, 2023

Hi @Laura 2507 ,

What you can do is, after connecting to SharePoint, follow these 3 steps to do

MOVE action

  1. Download file from SharePoint to local
  1. Delete the file in SharePoint
  2. Upload downloaded file to SharePoint(new path)

COPY action

  1. Download file from SharePoint to local
  1. Upload downloaded file to SharePoint(new path)

@MADEVAN T go through this link for SharePoint example

 

Thanks, Sai Krishna, Happy Automation.