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 / Disable controls/tabs ...
Power Apps
Answered

Disable controls/tabs when the save process is going on

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, Any idea would be appreciated.

How to disable/make controls readonly/disabled, till the save data is getting processed ?

 

I want to freeze the tabs while data saving is going on (movement of ... at the top), I am saving data from powerapps to Sharepoint list and collection at the button click. Screenshot attached.

Regards,

Nandan

Gallerysave.PNG
Categories:
  • Joel CustomerEffective Profile Picture
    3,224 on at

    This is a good use of a timer control

    see the “loading button” section of this article for an example of disabling a button while a timer is running. https://jobs.collab365.community/powerapps-best-practices/

    figure out the average amount of time it takes to save your data, create a timer for that amount of time, and set the DisplayMode of the controls to disabled when the timer is running 

    @Anonymous if this answers your question please mark it as a solution

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    Shane Young has a nice video on using a spinner to block access to the app while a save or patch is running.

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    My method is to set a variable to control the display mode of the control.

    For example:

     

    Set(Disable,false); /*Disable is my custom variable*/
    ForAll([1,2,3,4,5,6,7,8,9,10,11,12,13,2,4,3],Patch('List A',Defaults('List A'),{Title:Value}));
    Set(Disable,true)

     

    • Disable is my variable.
    • ForAll([1,2,3,4,5,6,7,8,9,10,11,12,13,2,4,3],Patch('List A',Defaults('List A'),{Title:Value})); is the code to save the date.

    Before the save process starts, I set the variable to false, and after the save process ends, the variable will change to true.

    To demonstrate it, I created a button:

    DisplayMode:

     

    If(Disable,DisplayMode.Edit,Disabled)

     

    B2.gif

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard