Live Reports and Communication with Third-Party Apps
Build and show charts on the Consumer Goods offline mobile app by using UIPluginV2
controls in Visual Studio Code-based Modeler. Also, create buttons that open other allowlisted
apps from the offline mobile app.
Required Editions
Available in: Professional, Enterprise, and Unlimited Editions that have
Consumer Goods Cloud enabled
Visual Studio Code-based Modeler offers various options to customize the Consumer Goods offline
mobile app’s UI, processes, and business logic. For example, you can create UIPluginV2 controls
in the Modeler to build and show charts on the app.
Prerequisites Create the Displays custom card in Your Day cockpit.
Create a UI Plugin to Show Charts Create a Competitor Rate custom report on the CG offline mobile app to show the competitor rate of the available displays in a store. Configure the JavaScript implementation of the UIPluginV2 contract to define the properties, labels, libraries, HTML, and CSS.
Cockpit Cards Configuration Define a binding in the app UI for each of the properties that you specify in UIPluginV2. Create a cockpit card on the Your Day screen or the User Cockpit of the CG offline mobile app to show charts and reports. Test the cockpit card on a mobile device. Then, debug to find and fix errors.
Third-Party App Launch Button Create buttons on the display record pages of the Consumer Goods offline mobile app to open third-party apps. When sales reps open other apps along with the CG offline mobile app on their mobile device, they can handle multiple business processes simultaneously. This capability improves their productivity and efficiency. Create business logic methods to determine the button’s visibility and to ensure that you open the desired app. Create an event handler for the button click event and test the results on a mobile device.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.