Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
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
          Generate a Print Preview

          Generate a Print Preview

          Review how your report appears when printed as a PDF document.

          Required Editions

          Available in Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud enabled.
          User Permissions Needed
          To create a generate preview Customizer, Admin

          Prerequisites:

          • The current folder is a valid workspace.
          • A successful build was run.
          • The Modeler server started successfully.

          For example, to see how the PDF print of an order report would appear, perform the following steps to generate a preview of data to be printed.

          1. At the command prompt or in a Terminal window, change the directory to your workspace.
          2. Build the workspace. Run: sf modeler workspace build.
          3. Start the server. Run: sf modeler workspace server start.
          4. Open the URL http://localhost:3000/framework/index.html?desktop in a Google Chrome browser in incognito mode to view the Consumer Goods Cloud offline mobile app in a simulator app UI when generating the print preview for the first time. The system performs the initial data synchronization before rendering the simulated UI.
            For subsequent tests, use the URL http://localhost:3000/framework/index.html?desktop&forceOffline in Google Chrome in incognito mode if the customizations in a PrintLayout contract requires you to generate the print preview multiple times until you get the expected output.
          5. In the simulated app, go to Order | Order Overview, and open an order.
          6. To open the menu, click Menu icon, and then click Header icon.
          7. Click Preview.
            The PDF preview of the Order Confirmation report appears.
           
          Loading
          Salesforce Help | Article