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