fetchxml Questions

1

Solved

I'm trying to query a Dynamic-CRM system using FetchXML get request. The error: "Invalid Uri: The Uri scheme is too long. UriFormatException" occurs when I'm using specific attributtes\filters. F...
Delores asked 16/3, 2020 at 12:15

2

Solved

Basically I have a QueryExpression that returns over 3000 results. I only need to use between 50 and 200 of these. If I was using normal sql I could use SELECT TOP 200..... Is there a way to do thi...
Strutting asked 13/7, 2010 at 9:57

3

I have some SQL reports that has very slow performance, so we converted all of them into FetchXML, but all the SQL reports has all the conditions optional, something like this: SELECT ... FROM ....

2

Solved

Overview: I'm coding a FetchXML query to return users with disabled mailboxes in a Dynamics 2015 online CRM instance. Now I've come to a stage where the query results need to be bound to a ListView...
Joell asked 8/2, 2016 at 22:44

4

Solved

We found out that Linq for CRM 2011 is horribly broken - it seems to have gotten in without any QA performed on it. An indicator as how badly broken the provider is a query like .Where(x => x== "b"...
Shortly asked 7/2, 2012 at 19:1

1

Solved

Using this query im able to retrieve audit records in Microsoft Dynamics CRM online <fetch version="1.0" > <entity name="audit" > <all-attributes/> </entity> </fetch&...
Duprey asked 18/8, 2015 at 7:33

1

At this moment I know how to use the addCustomFilter in combination with addPreSearch (and the remove variants). All this works perfectly when passing a filterXml like: <filter type="and"> ...
Oliveolivegreen asked 29/5, 2014 at 14:18

3

Solved

Is it possible to display fields from nested link-entities in a view? I have 3 entities: statistics, account, and address. Statistics has a lookup to Account and account has a lookup to Address. I...
Subtenant asked 14/11, 2013 at 15:39

1

Solved

Problem I have a Fetch XML query that has an aggregate count on a linked entity that isn't behaving as expected. Basically I'm returning a list of courses, and getting a count of how many contacts...
Coagulum asked 28/8, 2012 at 16:10

4

Solved

I want to execute FetchXML queries in a CRM 2011 environment using the CRM 2011 SOAP web services and JavaScript. I have found a number of articles like this one showing how to use the 4.0 web ser...
Azygous asked 3/5, 2011 at 23:40

1

Solved

I've got a 2 part question: First question: I know that there is a query limit of 5,000 records when querying records, for performance reasons, but is there a limit when doing an aggregate query? ...
Habitue asked 12/4, 2012 at 20:15

1

Solved

I am using FetchXml to query CRM 4.0. We have a special case that will require a composite join between CRM entites. The FetchXml schema indicates that multiple link-entity elements are allowed, an...
Repent asked 28/10, 2010 at 19:59

5

Solved

I have avoided working with fetchxml as I have been unsure the best way to handle the result data after calling crmService.Fetch(fetchXml). In a couple of situations, I have used an XDocument with ...

1

Solved

How do i do a left join using FetchXml? Consider a simple SQL query like the following: select person.name, address.city from person left join address on person.addressid = address.addressid How w...
Adversity asked 10/7, 2010 at 8:40
1

© 2022 - 2024 — McMap. All rights reserved.