web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How can I prevent performance problem with customized Account form

(0) ShareShare
ReportReport
Posted on by 25 User Group Leader
We have customized the Account form to give our users the 360 degree overview they want on our customers. However, we now experience severe performance problems as it takes approx. 13 seconds before the Account form has finished and is displayed. It is unacceptable for our users, especially in cases where the customer is on phone and they have to small talk until the form is finally displayed.
We are running an on-premise CRM2011 installation in a clustered environment. Database and CRM servers are not overloaded. Thus we believe the performance problem is related to our form customization and/or our CRM client environment.
Our users run IE8 on XP i.e. they run the CRM web client. Our account form customization has eight sub-grids with various custom and standard CRM entities that are important for our users to give a good customer overview. In addition we have added five IFRAMES but two of them are hidden by default.
We also have a number of java scripts to calculate/update some fields on the fly. We believed our performance problem could be caused by these JavaScripts. Thus we made some experiments where we disabled these scripts to analyze their performance impact. They clearly have some impact because they call other web services. However using Fiddler to analyze the timings on each web request we observe a significant delay of 6 seconds from the entity page is loaded with data (edit.aspx) until data is loaded into the first sub-grid – see figure.
  
Does anyone have a clue to why this delay occurs? And even better how to prevent it?
When we enable the java scripts we also observe delays. In this case it comes in two parts, one delay of 4 seconds (after edit.aspx) and another 2 seconds delay after some of the IFRAMES have displayed.
We suspect one cause could be the number of sub-grids resulting in some kind of resource exhausted. Therefore we tried to remove two of the sub-grids as they were also available as related links. It reduced the first delay to 2 seconds (in contrast to 4), and it takes approx. 11 seconds to finish and display the form.
I appreciate advice on how to make this form perform better. I also welcome comments on general experience about customizing the Account form to give a good 360 degree overview. I suspect there are some pitfalls we should observe in particular when we load information from many related entities and have a lot of java script running. 

*This post is locked for comments

I have the same question (0)
  • TNS Profile Picture
    1,197 on at

    Hi Allan,

    Please follow below link of removing data from RecentlyViewedXml field (column) in "UserEntityUISettingsBase" might it can help:

    "community.dynamics.com/.../one-specific-user-slow"

    This resolution also helped us , but we have tried it on d365 v8  on premises don't know if it will work for 2011, but you can try, If you found a UserEntityUISettingsBase table remove data firstly for one user who is facing slowness issue, and if it helps you can try for all users.

    Thanks.

  • Allan R.Lassen Profile Picture
    25 User Group Leader on at

    Hi TNS,

    Thanks for taking time and give a link to the RecentlyViewedXml problem.

    Our problem was long back in the 2011 days, and I don't recall we have struggled with RecentlyViewedXml field. The described solution was migrated to D365 v8.2 on premises, and during migration we eliminated some of the customizations to better conform to standard. But I believe we simplified the Account form before that to circumwent the performance issue. Anyway, our rule of thumb today is to strictly follow standards and best practise to be better prepared for future.

    Today, we have new solutions in D365 online and use Unified UI, which makes it even more important to follow these rules ;-)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans