-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.FetchXml.Entity.addAttribute
rescocrm edited this page May 15, 2023
·
8 revisions
Adds an entity attribute to the fetch query.
Argument | Type | Description |
---|---|---|
name | String | The attribute (CRM logical field name) to order by. |
alias | String | Optional parameter defining an attribute alias. |
aggregate | String | Optional parameter defining an aggregation function. |
Following example creates the fetch entity for account with two attributes.
var entity = new MobileCRM.FetchXml.Entity("account");
entity.addAttribute("accountid");
entity.addAttribute("name");
entity.addAttribute("address1_line1");