Skip to content

MobileCRM.FetchXml.Filter.contains

rescocrm edited this page May 15, 2023 · 8 revisions

Adds a condition that the passed column starts with the passed string.

Arguments

Argument Type Description
attribute String The attribute name (CRM logical field name).
value String The value to compare to.

Following example creates the fetch entity for account with filter on entities containing "555" in phone number.

var entity = new MobileCRM.FetchXml.Entity("account");
entity.addAttributes();
var filter = new MobileCRM.FetchXml.Filter();
filter.contains("telephone1", "555");
entity.filter = filter;
Clone this wiki locally