MobileCRM.FetchXml.Filter.isIn - Resconet/JSBridge GitHub Wiki
Adds a attribute inclusion condition to the filter.
Arguments
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;