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
          getItemByPKey(pKeyValue)

          getItemByPKey(pKeyValue)

          Searches for an item within the list for the given PKey and returns it. Returns null if no items or multiple items have been found.

          Required Editions

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

          Parameters

          pKey Value: Object

          Returns

          Object: The list item corresponding to the given pkey value.

          Example
          Example
          Var list = SomeListObject
          Var item = List.getItemByPKey("a16characterpkey")
          
           
          Loading
          Salesforce Help | Article