Loading
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
          Configure Modeler for Debugging

          Configure Modeler for Debugging

          Prepare Modeler for debugging.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled
          User Permissions Needed
          To configure Modeler: Customizer, Admin
          1. If you are logging into a new org, perform these steps:
            1. To clean your workspace, run: sf modeler workspace cleanup
            2. To build your workspace, run: sf modeler workspace build
          2. Start the local server in your Modeler workspace to open the simulator app. Run: sf modeler workspace server start
            A log message appears indicating that the backend server has started. The log message also includes the URL using the port configured in your workspace.
            This is the URL generated using the default port http://localhost:3000/framework/index.html?desktop.
          3. To view the simulated UI in online mode, open the default URL or the URL returned in the log message in a Google Chrome browser in incognito mode.
          4. At login prompt, enter sales rep credentials and complete the synchronization of data to Modeler.

            The image shows the sync screen of the Modeler app.

            Sync Screen
          5. Launch developer tools in the Chrome browser. Right-click in the browser and click Inspect. Alternatively, in your browser, click More Tools, and then select Developer Tools.
          6. To remove org or user data, clear your local storage. The image shows how to clear local storage from the Application tab in the Chrome DevTools.
            Clear Local Storage
          7. On the Network tab, click Preserve Log.
          8. To enable the log settings:
            1. Click or tap thrice on the sync or app UI area on the browser. A debug window appears.
              If you aren’t able to view the sync screen, press the triple tab on the current screen.
              A debug window appears.
            2. In the Log Settings tab, turn on the Enable Logs / App Logs and the Logs to Console settings.

              The image shows the Log Settings page with the enabled settings on the debug window.

              Log Settings
            3. Click Back.
              After the sync is complete, the landing page of the offline mobile app appears. If the sync is still in progress, you’re shown the sync screen.
           
          Loading
          Salesforce Help | Article