Tuesday, July 25, 2023

Convert Query Expression to FetchXML

 #region Convert Query Expression to FetchXML
                var conversionRequest = new QueryExpressionToFetchXmlRequest
                {
                    Query = query
                };
                var conversionResponse = (QueryExpressionToFetchXmlResponse)this.OrgService.Execute(conversionRequest);
                var fetchXml = conversionResponse.FetchXml;

                #endregion

No comments:

Post a Comment