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.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.