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 / Navigating and Reseting
Power Apps
Unanswered

Navigating and Reseting

(0) ShareShare
ReportReport
Posted on by 68

Tahir2132_0-1631543074388.pngTahir2132_1-1631543136621.png

 

 

i am Trying to reset the form after its submited and it should navigate to Done page but i get these 2 error please Help.

 

 

 

 

ForAll(
Filter(
BrowseGallery1.AllItems,
Value(QtyInput.Text) > 0
),
Patch(
'Device ordering list',
Defaults('Device ordering list'),
{
Title: ArtInput.Text,
Anzahl: Value(QtyInput.Text),
Comments: CommentsInput.Text,
Standard: DescInput.Text

}
)
)
Reset(ArtInput);
Reset(QtyInput);
Reset(CommentsInput);
Reset(DescInput);
Navigate(Done,None);

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    The ForAll statement needs a semicolon (;) at the end of it to address the first error. Once fixed, this will probably clear up your second error too.

     

    Hope that helps,

    Bryan

  • Tahir2132 Profile Picture
    68 on at

    Tahir2132_0-1631544527104.png

    i put the ; Now it give error The function expect resettable control as input

  • BCLS776 Profile Picture
    8,994 Moderator on at

    You can use the Reset() function in that way, as long as it is executed from within the same gallery. I notice the button you are using is outside of the gallery.

     

    If you need those controls reset, try putting them into a behavior property (starts with "On") of a control within the gallery itself.

     

    Hope that helps,

    Bryan

  • Tahir2132 Profile Picture
    68 on at

    how can you please do an example using the code i posted above sorry im new to power apps not much experience

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Tahir2132 

     

    Refresh(DataSource); //Master List .Not 'Device ordering list'

    Navigate(Done,None);

  • Tahir2132 Profile Picture
    68 on at

    i have used refrest but still not working 

    Tahir2132_0-1631710128918.png

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Tahir2132 

     

    Please change to

    Refresh('Device Ordering List') //SP Data source

  • Tahir2132 Profile Picture
    68 on at

    Tahir2132_0-1631710679531.png

    you mean like this?

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Yes exactly. Test it and let me know. It should work. Already I'm using this command.

    You can remove //SP Data source (I specified for reference)

  • Ram Prakash Duraisamy Profile Picture
    5,885 Super User 2026 Season 1 on at

    Hello @Tahir2132,

     

    Refresh will work for Refresing the Datasource

     

    for Setting the TextValue as Null

     

    Click the TextBox And set Default as QtyInput

     

    Then Instead of Refresh try using Set(QtyInput,Blank())

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

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

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard