Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2015 Javascript optimizations

Posted on by Microsoft Employee

Hi,

I have a huge Javascript for Account form which I am analysing and optimizing because Account form take around 11 secs to load due to this file. There is one particular logic that alone takes several seconds, it validates specific fileds, Shows alerts in specific language based on optionsets and then try to submit data to SAP in sync mode whilc showing Progress (based on spin.js). All this is loaded at "onload" but triggered via ribbon button. I would like to move this logic out of JavaScript as much as possible i.e. to plugins, Workflows, possibly external app like asp.net called from ribbon button so that Javascript gets smaller and simpler. Users insist on having the same functionalities. The requirements are:

1. Validate fields required for SAP sync.

2. Show alerts in user/ local crm language.

3. Submits data to SAP and user gets confirmation.

How can it be redeveloped so that Account form loads faster? Thanks in advance!

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans