Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Test the PDF Report Generation

          Test the PDF Report Generation

          After you configure the store display PDF report in Visual Studio Code-based Modeler and set up its layout, generate the PDF report. Test the generated report on a mobile device.

          Required Editions

          Available in: Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled
          User Permissions Needed
          To test the change: CG Cloud Developer AND Admin
          1. Open Visual Studio Code-based Modeler.
          2. In your Modeler workspace, do the following:
            1. Create a PrintLayoutV2 Contract
            2. Implement a Menu to Generate PDF Reports for Store Displays
            3. Configure the Event Handler
            4. Configure the PrintV2 Action
            5. Create a Table for the Current Display Fields
            6. Create a Filtered List for Product Displays
          3. Save all changes.
          4. To check for validation errors, build your contracts by running sf mdl build.
          5. To test the generated report, restart the Consumer Goods offline mobile app.
          6. On the Your Day cockpit, tap to open a display record on the Displays cockpit card.
            You can see the Print PDF button on the Display Details screen.
            The Print PDF button on the Display Details screen of the Consumer Goods offline mobile app.
          7. To generate the PDF report for the display, tap the Print PDF button.
            You can see the report on the CG offline mobile app UI.
            The PDF report generated on the Consumer Goods offline mobile app.
          Note
          Note To share the report with others, tap share.
           
          Loading
          Salesforce Help | Article