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 |
-
Open Developer Tools in the Google Chrome browser.
-
Under the Source tab, select
about:srcdoc/localhost:3000/framework/UIPluginV2_MyCardDisplayReportUIPluginV2.js.
-
Set breakpoints in the
connectCallback(),
disconnectCallback(), or renderCallback()
function and refresh the dashboard.
The execution stops on the connectCallback()
function.
-
In the Developer Tools console, switch to
about:srcdoc.
-
To see all properties of the UI plugin, type PluginManager.