Is it possible to display a loading/progress bar on a gallery while records for that gallery are being created via PowerAutomate and then have it automatically disappear and auto-refresh when the records are created?
Please note, I am using the CDS connector working with Dynamics 365 entities
Scenario example:
Solved! Go to Solution.
Hi @binkster ,
Please check steps:
1. In the App, first to add a loading GIF into Media, then add the Gif above the Gallery, set its Visible property to 'VarVisible'
2. Set the following code to Onselect property of button.
Set(VarVisible,true);Flow.Run();Refresh('SP list');Set(VarVisible,false)
3. Set DisplayMode of Gallery:
If(VarVisible,Disabled,DisplayMode.Edit)
Sik
Hi @binkster ,
Please check steps:
1. In the App, first to add a loading GIF into Media, then add the Gif above the Gallery, set its Visible property to 'VarVisible'
2. Set the following code to Onselect property of button.
Set(VarVisible,true);Flow.Run();Refresh('SP list');Set(VarVisible,false)
3. Set DisplayMode of Gallery:
If(VarVisible,Disabled,DisplayMode.Edit)
Sik
I think that you should reconsider your approach in order to solve this situation, like this:
Re-create the PowerAutomate flow with a trigger from PowerApps (and send the Record1 data as parameter via JSON). Please see this topic to understand how.
Inside this flow you can write to CDS - Record A, and also its child records 'Record B 1, 2,...,n'.
At the end, respond from PowerAutomate to PowerApps with one parameter that confirm that the flow is finished.
The flow should be triggered from PowerApps app with a code like this Set(flowFinished,flowToUpdateData.RUN(RecordA))
In Screen 2 you will need a Timer with OnTimerEnd property set to check the value of flowFinished and a full-screen label with its Visible property set up with the result of previous timer check and Text property something like "Loading ...".
Hope it help my idea !
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
208 | |
47 | |
43 | |
41 | |
36 |
User | Count |
---|---|
290 | |
84 | |
81 | |
79 | |
77 |