Implement a Menu to Generate PDF Reports for Store Displays
Configure the MyDisplay_DisplayDetailsUI.userinterface.xml contract to create a menu in
the Displays cockpit card of the Consumer Goods offline mobile app. This new menu shows the button
to generate PDF reports for store displays.
Required Editions
Available in: Professional, Enterprise, and Unlimited Editions
that have Consumer Goods Cloud enabled
User Permissions Needed
To implement a menu to generate PDF reports for store displays:
CG Cloud Developer AND Admin
For better usability, create menu items at the page level of the app UI and not at the area
level. Menu items that you create at the page level appear in the master layout and detail
layout areas of the mobile screen.
Open the Consumer Goods offline mobile app and go to the Your Day cockpit.
To create a menu item on the Displays cockpit card, open the
MyDisplay_DisplayDetailsUI.userinterface.xml contract located at
$workspace/src/MyDisplay/PL/MyDisplayPDF.
Under the detailArea node, enter this code snippet:
To check for validation errors, build your contracts by running sf mdl build.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
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.