Loading
Ongoing maintenance for Salesforce HelpRead More
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
          getItemsByParam(JSONParams)

          getItemsByParam(JSONParams)

          Returns an array of items that match the parameters.

          Required Editions

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

          The JSONParams is a JSON structure that contains the parameters and the filter values for each parameter. For example: SimpleProperty1: Value1, SimpleProperty2:Value2, SimpleProperty3: Value3}

          Parameters

          Parameters: JSON

          Returns

          A List of items that match the specified parameters.

          Example
          Example
          Var list = SomeListObject
          Var item = List.getItemsByParams({"bpaMainPKey": "a16characterpkey", "status" : "1"})
           
          Loading
          Salesforce Help | Article