-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.FetchXml.Filter.isIn
rescocrm edited this page May 15, 2023
·
8 revisions
Adds a attribute inclusion condition to the filter.
Argument | Type | Description |
---|---|---|
attribute | String | The attribute name (CRM logical field name). |
values | Array | An array of values. |
Following example creates the fetch entity for account with filter on entities with address in Boston and Redmond.
var entity = new MobileCRM.FetchXml.Entity("account");
entity.addAttributes();
var filter = new MobileCRM.FetchXml.Filter();
filter.isIn("address1_city", ["Boston", "Redmond"]);
entity.filter = filter;