In the latest patches to SugarCRM version 7, you may have run into a "Data not available" error immediately after installing a module or while trying to go to your new module's end points using the Sugar App router. You may have found out that by simply refreshing the page and going back to your endpoint solves the issue. I knew there had to be something Sugar was doing on a page refresh that it wasn't doing after a module was installed.
After browsing through the many AJAX requests of Sugar 7, I found a "sync" request that loads a lot of information Sugar needs to operate, including all the available routes for your modules. Since Sugar 7 is a one-page application (meaning it uses AJAX requests for everything), after a module finishes installing through the module loader, the browser is not aware of the new routes your newly installed module added which is why the "Data not available" error is shown. Simply running a sync will solve this.
It's as simple as the script above. Once that runs, your app will know about your new routes.
Google Style SugarTheme
Striking Features. A Completely Rethought UI. Give your users a familiar user interface that makes them more efficient and effective with SugarCRM CE. Powerful features abound such as favorites, quick reminders, subpanels as tabs, and unlimited dashboards. On top of the click reducing interface,...
Easily plan and manage projects as part of your sales, marketing and internal planning and execution process. Our flexible project management solution for Sugar will help your whole team stay organized and focused on execution while bringing transparency and visibility into the whole process.
Outlook 365 and Sugar Integration
Make life easier by reducing the need to flip between apps. If you are using Outlook Web App, Outlook 2013, or Outlook 2016 connected to Office365 or Exchange Server 2013 then be sure to take advantage of this email and contact synchronization add-on. Smartly links emails to your Sugar records and k...
- Show more addons