Difference between FetchXML and QueryExpression

To query Dynamics CRM database we can go with either Query Expression OR Fetch Expression. Difference between FetchXML and QueryExpression QueryExpression does not support aggregate functions whereas FetchXML does like Min, Max, SUM, Count. Through QueryExpression we cannot able to add a column of a linked entity to be returned as the query result. Through … Continue reading Difference between FetchXML and QueryExpression


Generate OAuth Token using Client ID and Client Secret

What is meant by OAuth? OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password. OAuth is an open-standard authorization protocol or framework that describes how unrelated servers and services can safely allow authenticated access to their assets without actually sharing the … Continue reading Generate OAuth Token using Client ID and Client Secret

call action

GenerateGDRFAMemberId: function (id, gender, dateOfBirth, nationality, uidNO, memberType, visaFileNumber, eId, passport, birthCertificateId, memberRefId, policyNumber, uniqueMemberId, enquiryNumber, opportunityId, entityName, async, successcallback, errorcallback) {   var request = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'>" + "<s:Body>" + "<Execute xmlns='http://schemas.microsoft.com/xrm/2011/Contracts/Services' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>" + "<request xmlns:a='http://schemas.microsoft.com/xrm/2011/Contracts'>" + "<a:Parameters xmlns:b='http://schemas.datacontract.org/2004/07/System.Collections.Generic'>" + "<a:KeyValuePairOfstringanyType>" + "<b:key>Operation</b:key>" + "<b:value i:type='a:OptionSetValue'>" + "<a:Value>47</a:Value>" + "</b:value>" + "</a:KeyValuePairOfstringanyType>" + "<a:KeyValuePairOfstringanyType>" … Continue reading call action