Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There was a few things wrong with the above query. (in particular some of my aliases were confused). As suggested by Jeff Xiong the SOAPLogger helped me.</p> <p>The criteria was also incorrect. Working soap below:</p> <pre><code>&lt;RetrieveMultiple xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;query xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" i:type="b:QueryExpression"&gt; &lt;b:ColumnSet&gt; &lt;b:AllColumns&gt;false&lt;/b:AllColumns&gt; &lt;b:Columns xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt; &lt;c:string&gt;firstname&lt;/c:string&gt; &lt;c:string&gt;emailaddress1&lt;/c:string&gt; &lt;/b:Columns&gt; &lt;/b:ColumnSet&gt; &lt;b:Criteria&gt; &lt;b:Conditions&gt; &lt;b:ConditionExpression&gt; &lt;b:AttributeName&gt;emailaddress1&lt;/b:AttributeName&gt; &lt;b:Operator&gt;Equal&lt;/b:Operator&gt; &lt;b:Values xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt; &lt;c:anyType xmlns:d="http://www.w3.org/2001/XMLSchema" i:type="d:string"&gt;test@test.com&lt;/c:anyType&gt; &lt;/b:Values&gt; &lt;/b:ConditionExpression&gt; &lt;/b:Conditions&gt; &lt;b:FilterOperator&gt;And&lt;/b:FilterOperator&gt; &lt;b:Filters /&gt; &lt;/b:Criteria&gt; &lt;b:Distinct&gt;false&lt;/b:Distinct&gt; &lt;b:EntityName&gt;contact&lt;/b:EntityName&gt; &lt;b:LinkEntities /&gt; &lt;b:PageInfo&gt; &lt;b:Count&gt;250&lt;/b:Count&gt; &lt;b:PageNumber&gt;1&lt;/b:PageNumber&gt; &lt;b:PagingCookie i:nil="true" /&gt; &lt;b:ReturnTotalRecordCount&gt;false&lt;/b:ReturnTotalRecordCount&gt; &lt;/b:PageInfo&gt; &lt;/query&gt; &lt;/RetrieveMultiple&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload