Debug Errors

Debug to find and fix errors in the cockpit card setup on the Consumer Goods offline mobile app.

Required Editions

Available in: Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled
User Permissions Needed
To debug errors: CG Cloud Developer, Admin
  1. Open Developer Tools in the Google Chrome browser.
  2. Under the Source tab, select about:srcdoc/localhost:3000/framework/UIPluginV2_MyCardDisplayReportUIPluginV2.js.
  3. Set breakpoints in the connectCallback(), disconnectCallback(), or renderCallback() function and refresh the dashboard.
    The execution stops on the connectCallback() function.
  4. In the Developer Tools console, switch to about:srcdoc.
  5. To see all properties of the UI plugin, type PluginManager.