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 / Is there a function to...
Power Apps
Unanswered

Is there a function to clear all the variable, all the collection all at once in Power Apps?

(0) ShareShare
ReportReport
Posted on by

Hello Fellows,

 

I am developing a very complex canvas app, has many pages, variables and collections.

 

The thing is I am going to have a button at the last page, onSelect direct back to first page as a start over.

I know that I can use Concurrent() to write a big chuck of code to Reset|Clear|Set a bunch of components, but is there a easier way to just reinitialize the app?

 

Best Regards, 

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 
    No, there is not an easier way to do it.


    You could make the user close and re-open the app if you don't want to do the work. 🤣 That's about all though.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • CodeMorgan Profile Picture
    28 on at

    I want this too so I submitted it as an idea:
    https://ideas.powerapps.com/d365community/idea/fa1d6f0e-000e-ee11-a81c-000d3a0d5a36

    Please upvote. Thanks!

  • GaneshMaddipudi Profile Picture
    2 on at

    @CodeMorgan , it seems there is a way now using ClearData() function SaveData, LoadData, and ClearData functions - Power Platform | Microsoft Learn

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard