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
          refreshEARights(includeLists)

          refreshEARights(includeLists)

          Reapplies the edit and access rights for the current UI page according to the edit and access right bindings set for the various UI elements on the page. When the function is called, the changes take place immediately on the UI.

          Required Editions

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

          Parameters

          includeLists: Boolean. If set to true, edit and access rights for UI lists are re-evaluated. If set to false or if not set (null or undefined), all UI lists are excluded from the re-evaluation.

          Example

          
          1
          2
          3
          //refresh EA rights for button visibility and detail area
          
          me.setEARights();
          
          BindingUtils.refreshEARights();
          
           
          Loading
          Salesforce Help | Article