Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Get attachment from one list and add to another sharepoint list

Posted on by 487
I have a "When an item is created" in SharePoint List "A" trigger:
 
>>Steps will be it will create a record in another SharePoint List B
but I need to grab the attachments from SharePoint List A and then add it to SharePoint List B.  
 
When it adds the attachment, the attachment will not open in List B.  

Any thoughts if below is correct?


 
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,095 on at
    Get attachment from one list and add to another sharepoint list
    Could you try the expression 
    body('Get_file_content')
  • joel914823 Profile Picture
    joel914823 487 on at
    Get attachment from one list and add to another sharepoint list
    Thank you @sudeepghataknz - See below - I added a Get file content step after Get attachments - however when I go to File Content in the Add Attachment action - the dynamic content for the get file content is not showing - any ideas?
     
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,095 on at
    Get attachment from one list and add to another sharepoint list
    The File content property is not setup correctly.
    You need to use the Get File Content to first retrieve the content of the file and then provide it to the Add attachment action
     
    In Get File content action provide the File Identifier from the Get attchments action
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard