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.
Required Editions
Available in: Enterprise and Unlimited Editions where Consumer
Goods Cloud is enabled
User Permissions
Needed
To define access rights for saving display records in VS Code Modeler
Customizer, Developer
In Visual Studio (VS) Code based Modeler, add this snippet to the customization area of
the method in BoMyDisplay.AfterCreateAsync.bl.js.
To synchronize the Type attribute and make it available in the CG Cloud offline mobile
app, add Type to the Mobility relevant field set.
To check for validation errors, build the contracts by running this command: sf
modeler workspace build
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.