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
          Wizard to Add Display Records

          Wizard to Add Display Records

          Sales reps need to add display items on the go during store visits. Use Visual Studio Code based Modeler to integrate an Add wizard to the master-detail page of the Consumer Goods Cloud offline mobile app. Create a UI contract for the wizard and define its process flow. Then, configure the wizard in the master-detail process to show the add button on the master-detail page of the offline mobile app.

          Required Editions

          Available in: Enterprise and Unlimited Editions where Consumer Goods Cloud is enabled
          • Create UI and Process Contracts
            Use Visual Studio Code based Mdoeler to add a UI contract for the wizard and define its process flow.
          • Configure an Add Button to the Master Detail Page
            Use Visual Studio Code based Modeler to add a button on the Master Detail dialog and trigger an event to open the Add Display wizard. When a user taps the Create button on the user interface, the Master-Detail process starts the Create wizard.
          • Configure Access Rights to Save Display Record Changes
            When a sales rep saves a modified display record, to ensure that the changes made to the Display object are persisted and updated in the database, in Visual Studio Code based Modeler, mark the Display object as dirty and define the edit and access rights of the Display object.
          • Add Display Record Created with the Wizard to the Master List
            After you create display records with the wizard, use Visual Studio Code based Modeler to add and append the new display records to the parent list of displays. We do this by adding and configuring the myAddItem method.
          • Create a Display Record to Test the Add Wizard
            Test the Create wizard for displays in Visual Studio Code based Modeler. Add a display record using the workflow configured on the Add Display page. Verify that the new display record appears in the master display list.
          • Configure Sales Org for New Display Records
            Use Visual Studio Code based Modeler to set a sales organization for new display records to ensure that all data is accurate, consistently organized and categorized, making it easier for sales reps to access and manage information effectively. Sales reps can quickly locate the relevant display data without having to manually input the sales org each time.
           
          Loading
          Salesforce Help | Article