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
          addItemChangedEventListener()

          addItemChangedEventListener()

          This function registers an event handler and is used when a list item changed event is triggered.

          Required Editions

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

          Parameters

          • List object name (host reference): String
          • Item change event name: Triggered for batch
          • Object: Host

          Example

          The table shows the two forms the function has

          Form Description
          me.addItemChangedEventListener('loCheckInPayment',me.onCheckInItemChanged); Parameters are list object name (host reference) and item change event name.
          me.get('loCallAssetOverview').addItemChangedEventListener(me.onAssetSurveyChanged, me, 'loCallAssetOverview') The getfunction of a list object precedes the addItemChangedEventListener function call. Parameters are item change event name, host, and list object name (host reference).
           
          Loading
          Salesforce Help | Article