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 / HOW TO SAVE AND RESET ...
Power Apps
Answered

HOW TO SAVE AND RESET SCREEN

(0) ShareShare
ReportReport
Posted on by

Hi All, 

 

Absolute beginner here. I am trying to save the details filled on the screen that contained the add picture control. However, when i go to another item in the list i want to reset the entire screen, so that i can fill in a new information. For now, I only know that you can do that to a form. Not sure how can i do that to entire screen? 

 

I've attached the layout of my library here. Screenshot 2024-06-04 112318.pngScreenshot 2024-06-04 112444.png

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @amrhleee 

    The Reset() function can only reset the control in Power Apps.

    Reset function - Power Platform | Microsoft Learn

    If you want to reset the whole screen, you can reset all the controls in your screen.

    All Controls - Reset :

    varReset

     

    Then you can use this expression to reset all the controls in your screen:

    Set(varReset,false);Set(varReset,true)

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @amrhleee ,

    if you are using form then use SubmitForm(formName) or if you want to use a patch to update the value you can use something like this:

     

    Patch(datasourceName,LookUp(datasourceName,ID=''),{you field names: value name})

     

    to reset form try ResetForm(formName)

    try this and let me know if you need more help.

     

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • amrhleee Profile Picture
    on at

    Hi @anandm08, I am sorry, I am not familiar with the patch function. 

     

    Is there any other way that I can do in order for me to reset the photo and the text input so that it will not retains throughout the entire list? 

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    is it a part of form photo and text input?

  • amrhleee Profile Picture
    on at

    Yes, because i want to add different text and photo for different category on the list given. However, when I added the text and photo for one category, it retains throughout the entire list. 

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    if you want to reset the image control use can use something like this formula:

     

    Reset(AddMediaButton1)

     

    and for text input:

     

    Reset(textInput.Text)

     

    just replace the name inside reset to the control you want to reset

    place this formula on button onSelect property 

  • amrhleee Profile Picture
    on at

    where should i put the code? since i cannot find the reset function in the image control Screenshot 2024-06-04 143411.png

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    you can put this formula on the tick symbol onSelect property that is on the right side of top

  • amrhleee Profile Picture
    on at

    thank you! what if i want to save the information first before resetting? so that the previous info is still there 

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    If you want to save information first and then reset the control, simply put the Reset formula at the bottom of your code where you submit the data.

     

     

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard