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
          Enable Pop-Up Notification about Unsaved Data Changes

          Enable Pop-Up Notification about Unsaved Data Changes

          You can show a pop-up notification on a mobile on iOS platform to inform users about unsaved data in the Consumer Goods Cloud offline mobile app.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          The pop-up appears after you update the pages under the Store Check card and return to the Store Cockpit or main page, or switch to another app.

          Append this code in a pre or post UserExit of BoUser.beforeLoadAsync:

          if(Utils.isDefined(PublicSettings) && Utils.isDefined(PublicSettings.setNotificationPopupForUnsavedChangesEnabled)) {
             PublicSettings.setNotificationPopupForUnsavedChangesEnabled(true);
          }
           
          Loading
          Salesforce Help | Article