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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update / Overwrite Exa...
Power Apps
Unanswered

Update / Overwrite Exact Image in Library During Patch

(0) ShareShare
ReportReport
Posted on by

1. I have a List and a Library

 

2. I have a Gallery with an Image Control

 

3. The Gallery is getting data from the List based on a the 'Name' chosen in the Dropdown

 

4. The Image is coming from the Library and is based on the same 'Name' chosen in the Dropdown

 

5. There is a Patch that updates any edited data in the Gallery to the List base on the ID of the item in the List

 

6. There is also an upload of a new image during updates (Patch). Because the 'Name' (the exact 'Name') may appear several times in the Gallery I cannot update (the actual need is to overwrite) the exact 'Image' during the update, the same way the data is being updated in the List based on it's 'ID'. How do I write a condition that will pull the 'ID' from the Library associated with the 'Name' in the Library, so that the update (Patch) overwrites the exact image associated with the 'Name' chosen in the Dropdown at the time

 

 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Shag-X :

    Sorry I can not understand your requirement.Could you provide more details?

    • What is the Dropdown?what's it's Items property?
    • How is this Gallery set up?
    • How did you patch, can you provide your formula?
    • Could you restate the sixth point in a clearer description?
    • How are List and Library related? Is it just by name? So how to ensure that items with the same name are associated with the correct file?
    • Could you provide some screenshots?

    If you want to use a more precise way to refer to the files in the library, I suggest you do not use Name but directly use ID.

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard