Skip to main content
Question

How can you move/copy files in Sharepoint?

  • September 20, 2023
  • 5 replies
  • 339 views

Forum|alt.badge.img+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

Ganesh Bhat
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • 74 replies
  • September 20, 2023

Hello,

We have some good actions in A360.

 

SharePoint delete file action (automationanywhere.com)

 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 3 replies
  • 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?


Forum|alt.badge.img+6
  • Navigator | Tier 3
  • 467 replies
  • 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


Forum|alt.badge.img
  • Cadet | Tier 2
  • 1 reply
  • October 31, 2023
Laura 2507 wrote:

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
Forum|alt.badge.img+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

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings