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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get the attachments us...
Power Apps
Unanswered

Get the attachments using the ID in array format

(0) ShareShare
ReportReport
Posted on by 112

Hi

 

I am having two lists : SP List 1 & SP List 2

SP List 2 will have the attachments with the SP List 1 ID(ID in SP List1 will act as Foreign Key).

From the power apps, I will send the SP List 1 ID as the trigger to the flow. 

 

Power Automate Process:

1.First I need to filter the SP List 2 using SP List 1 ID using Get Items action. I will get the SP List 2 Unique IDs. I am collecting all those IDs in one array.

2.Then I need to get the attachments and content with the array and need to send approval with attachments.

 

Please help me on this flow.

Sathya2_3-1642171256976.png

 

 

Sathya2_0-1642171024865.png

Sathya2_1-1642171086315.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-JessicaG-msft Profile Picture
    on at
    Re: Get the attachments using the ID in array format

    Hi @Sathya2 ,

     

    You could use an "Apply to each" action, and use the item() function to get the contents of the attachments in SP List 2 corresponding to each ID.

    vJessicaGmsft_0-1642413750927.png

     

    Best Regards,

    Jessica Gu

  • Suggested answer
    Enthu Profile Picture
    4 on at
    Get the attachments using the ID in array format
    I have same issue - I need your help
    I have two SharePoint list with same item around 900 time in both SharePoint now I want to copy only attachment from list1 to list2 for each project Id  because project Id is a unique identifier between both list
    Please assist with any sample flow for power automate and manual trigger flow

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard