Hello all,
In a scenario where we have to replicate the functionalities of an entire Model-driven application using the Canvas App, What will be the major challenges that can encounter in terms of performance?
1. How does Create a record option work in a model-driven application and how does a patch function work (I want to know what the API calls happen when a patch code is executed and the same for model driven also)
2. If creating a new record in the Customer entity from model-driven takes 2 sec and from Canvas it takes 8 sec. What can be the reason?
If I were to analyse the performance of a canvas app which is a replica of model driven, what all things should I check for?
Thank you in advance!
If you call the API, beyond the control tool, I don't know of a control tool that allows you to see the response time. You can still use F12 to monitor
http://powerappsguide.com/blog/post/dataverse-how-to-patch-the-5-most-complex-data-types
Thank you for taking the time to explain.
I understood your point. I want to examine the backend functionality on a granular scale. So, If I have a patch code onSelect of a button, on click of that what is the first thing happening in the backend? Is it calling a Dataverse API with the request, What is my response, Is there a way to see the response time?
I am checking in the monitor tool now. I want to check the same things for model driven also.
Your questions go hand in hand with perhaps your same question, when we use a Model Driven Apps we are using the default functionalities in this case creating a record, when we move to a canvas apps, we move on to our own development, either using the patch or the submitform are both development, which will depend on the amount of data you are making a patch and the validations you may have. Whenever you put a customization there is already a change and that impacts the system, the same thing happens to you in Model Driven, imagine that you put a Workflow when you save the record and those 2 seconds may be 4, because you have changed the default one.
You will have the greatest impact in creating the views and updating the data, because imagine you have a table with millions of records, Canvas Apps have the capacity to bring the first 2000 records, there are ways to overcome this point , but you will still have to develop and you will have lower performance. Now the same thing happens when you make a patch to edit a registry, it must search over the million registry for that value that you may obtain with a lookup but you are already degrading performance.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional