cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

How can we copy/move attachment file from sharepoint list to BOX

Dear Team,

 

Could you please let me know how can we build flow for copy/move attachment file from sharepoint list to BOX? 

 

Thanks,

Phearin 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin ,

 

Please use When an item is created as a trigger.

 

You want to get the attachments contained in the list item, not the files in the SharePoint library.

 

Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Support
Community Support

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin ,

 

Sorry, I am not familiar with the contents of PowerApps, I am afraid I am not able to give an accurate workaround.

Please consider submitting your question here, I believe that you would get a more professional solution here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
Highlighted
Impactful Individual
Impactful Individual

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin 

 

I'm not familiar with BOX but normally when uploading a file using flow you need to use a similar format to the one below. This example is from uploading to Jira but should work anywhere where the 'file' option would work in Postman

 

Screenshot 2019-04-09 at 21.png

 

{
  "$content-type": "multipart/form-data",
  "$multipart": [
    {
      "headers": {
        "Content-Disposition": "form-data; name=\"file\"; filename=XXXXX"
      },
      "body": XXXXX
    }
  ]
}

The 'body' should be the file content you get when retrieving the file.

 

Hope this helps,

Sam

Highlighted
Helper III
Helper III

Re: How can we copy/move attachment file from sharepoint list to BOX

Dear @SamPo ,

 

Thank for your comment, but it seems I couldn't get it from your below clue. 

I have sharepoint which store attached file (Any files) when user is uploading. then what I want is: to fectch the attach file on SharePoint to store it on BOX. This is the idea.


Thanks,

Phearin 

Highlighted
Community Support
Community Support

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin ,

 

Please refer to the following method to configure Flow.

  • Use Get attachments action to get all the attachments in the item, then configure Get attachment content action to get the attachment content.
  • Finally use Create file action to create a file in Box.

Image reference:

17.PNG

If you want to store all the attachments contained in the list in Box, you could use Get items to get all the items first.

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper III
Helper III

Re: How can we copy/move attachment file from sharepoint list to BOX

Dear @v-bacao-msft ,

 

I tried to follow that, but the Get attachements doesn't show "ID". Could you please let me know? what is wrong to the screen below.  

 

2019-04-23 09_01_23-Window.png

Thanks,

Phearin

Highlighted
Community Support
Community Support

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin ,

 

Please use When an item is created as a trigger.

 

You want to get the attachments contained in the list item, not the files in the SharePoint library.

 

Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper III
Helper III

Re: How can we copy/move attachment file from sharepoint list to BOX

Dear @v-bacao-msft ,

 

Thank for your comment, it is working now.


Thanks,

Phearin

Highlighted
Helper III
Helper III

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @v-bacao-msft ,

 

Could you please assist on this issue? 

 

I have created form from scratch and connect it with data source in sharepoint. Then I tried to add attachment field to the form. However, when I am tring to run it, it won't show me with correct form of attach file. It said "No item display".

Design Mode.pngPreview Mode.png

Thanks,

Phearin 

Highlighted
Community Support
Community Support

Re: How can we copy/move attachment file from sharepoint list to BOX

Hi @phearin ,

 

Sorry, I am not familiar with the contents of PowerApps, I am afraid I am not able to give an accurate workaround.

Please consider submitting your question here, I believe that you would get a more professional solution here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (10,339)