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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / delete or reset image ...
Power Apps
Unanswered

delete or reset image in addmedia button

(0) ShareShare
ReportReport
Posted on by 407

Hi, i have an offline/online app that saves to a collection, then uploads to sharepoint when online. I have 4x addmedia for the user to add pictures. On another screen, i have the another 4x addmedia, this is linked to a gallery to enable the user to change the image if required. I need to be able to reset the addmedia that is linked to the gallery. I have tried adding a button with the onselect set to UpdateContext({ClearPic:true});UpdateContext({ClearPic:false}), then in addmedia reset set to ClearPic, no error, just doesnt respond. (1st and 2nd image is the edit screen). My collection on the first addmedia screen is Collect(KBLCollection,{Image1:Substitute(JSON(UploadedImage1.Image,IncludeBinaryData),"""","")});SaveData(KBLCollection,"KBLCollectkeep"

Matt383_1-1634854896028.png

 

Matt383_0-1634854382602.png

any ideas would be much appreciated.

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 211 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard