web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can we copy/move a...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 162

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 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    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

  • phearin Profile Picture
    162 on at

    Dear @Anonymous ,

     

    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 

  • v-bacao-msft Profile Picture
    on at

    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,

  • phearin Profile Picture
    162 on at

    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

  • Verified answer
    v-bacao-msft Profile Picture
    on at

    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,

  • phearin Profile Picture
    162 on at

    Dear @v-bacao-msft ,

     

    Thank for your comment, it is working now.


    Thanks,

    Phearin

  • phearin Profile Picture
    162 on at

    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 

  • Verified answer
    v-bacao-msft Profile Picture
    on at

    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,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 506 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard