cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Serviced2000
Helper IV
Helper IV

Apps Performance with DataVerse

Hi Everyone,

 

I'm encountering some real performance issues with Power Apps that connect to DataVerse. We're not expecting it to be instant, but on some occasions we are waiting almost a minute for Save functions to take place. I've searched this forum and Googled etc, but most of the solutions seem to be pointed at improving the performance of the app itself, rather than the apps interaction with the data source.

 

Is there anything I can do to tweak this and provide a better user experience? I have placed spinners in the appropriate sopts but that seems like a flaky solution to me.

 

Thanks!

3 REPLIES 3
SBax
Impactful Individual
Impactful Individual

Can you share your code that completes the save please? (Guessing it's a patch code)

phipps0218
Super User
Super User

Loading GIFs are good for User experience. However, for us to help you will need to provide more information.

How are you saving? Patch or form submit?
What sort of data are you saving and how much data?
Have you tried reconnecting the data source?

Serviced2000
Helper IV
Helper IV

Hi Both,

 

It's a Patch as we need to update a couple of tables. I do have a load / save spinner (as you can see from my Patch statement) and there are a couple of different Patch statements in here. Maybe I'm just being impatient, but our experience of Power Platform / Dataverse here in Australia isn't the greatest...

 

Code under my 'Save' button is:

 

UpdateContext({showAMApproveSpinner: true});


Patch('Placement Approvals', LookUp('Placement Approvals',Activity = galAMApprovalHistory.Selected.Activity),{'Activity Status':'Activity Status (Placement Approvals)'.Completed},{'Status Reason':'Status Reason (Placement Approvals)'.Approved}, {Description : User().FullName});

 

Patch(Notes, Defaults(Notes), {Title:"Placement Approval"}, {Description:"Approved By - " & User().FullName}, {Regarding:varSelectedPlacement}, {'Is Document':false});

 

Office365Outlook.SendEmailV2("user@company.com.au", "Placement Approval", "Hi There,</br></br> Placement " & varSelectedPlacement.PlacementID & " has been Approved by " & User().FullName & "</br></br>Thanks!", {Importance:Normal});

 

UpdateContext({showAMApproveSpinner: false});

 

Thanks!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,597)