---
schema_version: "1"
id: d926c855ba62e7e0786d0edc663b08ba7d730c72ccf83c1d5495a50edaf3853b
title: addItemsIncremental(jsonDataList, loadParams, itemComparisonParams)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_modeler_listobject_additems_incremental.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_modeler_listobject_additems_incremental.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 464923b1a4d80a344536c4907952dc57776314ebca17383b986368d61079d1bc
description: Add items to a list without removing the existing items and without adding duplicates. The method also performs postLoadItemUpdates if the method exists for the given LO.
products:
  - Consumer Goods
release: "264"
---
# addItemsIncremental(jsonDataList, loadParams, itemComparisonParams)

Add items to a list without removing the existing items and without adding duplicates. The method also performs postLoadItemUpdates if the method exists for the given LO.

### 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>

## Parameters

- jsonDataList: JSON. List of JSON objects that represent the list items to add.
- loadParams: JSON. The load parameters that are used to load the list object. Is passed to postLoadItemUpdates if the method exists for the given LO.
- itemComparisonParams: JSON. Array of {"fieldName": <fieldname>, "op":<operator> } objects that is used to compare items in the list.

```
// Call merge engine
Facade.getMergedListAsync(mergeEngineParams)
then(function (items) {
 // Define criteria for containsItem() function
var itemComparisonParams = []
itemComparisonParams.push({ "fieldName": "prdMainPKey" });
itemComparisonParams.push({ "fieldName": "sdoItemMetaPKey" });
itemComparisonParams.push({ "fieldName": "quantityLogisticUnit" });
// Add items to list incrementally
me.addItemsIncremental(items, jsonParams, itemComparisonParams);
```