---
schema_version: "1"
id: db0e65a8c8c7796cff16a025dc7f33fc74f49db28a15a376ac65d61cca9791a9
title: getItemObjects()
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_modeler_listobject_getitem_objects.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_modeler_listobject_getitem_objects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ce378915e0bd55af63c5834b50c2b2b40a9cb508c516b668c29e758c43a48b43
description: Returns an array of list items that match the currently applied filters. Call this method for UI-Binding only. Use getAllItems() if you want to get all existing items in the list.
products:
  - Consumer Goods
release: "264"
---
# getItemObjects()

Returns an array of list items that match the currently applied filters. Call this method for UI-Binding only. Use getAllItems() if you want to get all existing items in the list.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong>, <strong>Unlimited</strong>, and <strong>Enterprise</strong> Editions that have Consumer Goods Cloud enabled.</td></tr></tbody></table>

## Returns

Filtered items in the list.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_vscode_modeler-264-0-0-production-enus/87cab158-9245-45b0-9080-f17a57d69ec9/images/icon_example.png)

Example

```
var orderMetas = this.getItemObjects();
var pKey = " ";
if (orderMetas.length >0) {
pKey = orderMetas[0].getPKey();
```