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 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:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard