Question

How can you move/copy files in Sharepoint?

  • 20 September 2023
  • 5 replies
  • 195 views

Badge +1

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

Userlevel 4
Badge +12

Hello,

We have some good actions in A360.

 

SharePoint delete file action (automationanywhere.com)

 

Badge +1

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?

Badge +6

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

Badge

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

Badge +3

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

 

Reply