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
          Display Object Modeling

          Display Object Modeling

          Review the prerequisites before you model a custom cockpit card.

          The contractSnippets folder in your Modeler workspace contains code snippets that you can use for modeling.

          Prerequisites

          To model contracts in VS Code based Modeler, you must:

          • Connect to the Salesforce org that contains the Display object from your Visual Studio (VS) Code based Modeler and launch the simulation app.
          • Review the Display database table and verify that the Display table is available and the demo data is synced to the mobile database. Here’s a sample SQL Query you can run in VS Code based Modeler to review the Display database table:
            
            SELECT
              NAME, DESCRIPTION__c, Competitor_Display__c, Sales_Org__c
            FROM
              DISPLAY__c
            Note
            Note

            You can install an extension in VS Code to access the SQLite database. For example, SQLite Extension.

            In addition to the fields defined in the MobilityRelevant field set, the table contains other standard fields, such as _syncStatus and isDeleted. The sync engine uses these fields and automatically syncs them. You can ignore these fields for this exercise.

          • Configure the sfConsumerKey value in the config.json file at $workspace/appl/build/config.
          • Ensure that you’re familiar with the component structure of Modeler objects and files.
            Tip
            Tip You can use a folder called contract snippets which holds some code snippets.
           
          Loading
          Salesforce Help | Article