本文主要讲述Dynamic CRM 2016使用FetchXml进行记录检索
代码如下
function RetrieveUsingWebAPIFetchxml() {
debugger;
var fetchxml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>" +
"<entity name='account'>" +
"<attribute name='name' />" +
"<attribute name='primarycontactid' />" +
"<attribute name='telephone1' />" +
"<attribute name='accountid' />" +
"<order attribute='name' descending='false' />" +
"<filter type='and'>" +
"<condition attribute='accountid' operator&#