Degrade in performance after latest rollup

Apr 8, 2014 at 10:40 PM
Hey guys, I have noticed that the latest Rollup for CRM Online has slowed the form down when using xrmsvctoolkit in the onLoad event. However I am trying to diagnose and although I have created many trial instances to see what was slowing down the form, two questions have arisen:
  1. Do I need to include the latest JQuery library with this toolkit on every CRM Form I use this on?
  2. The following code; I have set to async: true - but I am not noticing any performance improvements. I have added the code to the onLoad event handler, still seems to be slowing down the load time of the form. Any ideas how I can improve performance (the code block only retrieves Name, Telephone Number and Birthday, 3 columns) :
XrmSvcToolkit.retrieve({
        entityName: "Contact",
        id: contactGUID,
        async: true, 
I am hoping that MS did not do anything to break this library.
Coordinator
Jun 15, 2014 at 2:09 PM
Hi @PhilipMorris,

Sorry for the slow response.

When you say it slows down, do you have a benchmark number?
  • The toolkit doesn't rely on jQuery.
  • async or not shouldn't have much performance difference.
From best practice perspective, always specify the list of fields that you want to get back from CRM server.

Let us know if you have any further questions.

Thanks,
Daniel Cai | http://www.kingswaysoft.com