Some fields are not returned by enseys.
I have the following query:
<?xml version="1.0" encoding="uft-8" ?>
<root xmlns="http://enesyssoftware.com/schemas">
<list title="Demandes" relativeSiteUrl="/sites/SA/demande" tableName="Demandes">
<fields>EtatDemande</fields>
<query>
<Where>
<And>
<Geq>
<FieldRef Name='Created' />
<Value Type='DateTime'>@AfterDate!</Value>
</Geq>
<Eq>
<FieldRef Name='PrioriteDemande' />
<Value Type='Choice'>3-Haute</Value>
</Eq>
</And>
</Where>
<OrderBy>
<FieldRef Ascending="false" Name="Created"/>
</OrderBy>
</query>
</list>
<resultSet>Demandes</resultSet>
</root>
When i look at the web query enesys generate to get the fields (GetList() )i can see that sharepoint is returning the Field
HTTP/1.1 200 OK
Date: Mon, 22 Jun 2009 13:26:33 GMT
Server: Microsoft-IIS/6.0
MicrosoftSharePointTeamServices: 12.0.0.6219
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: WSS_KeepSessionAuthenticated=80; path=/
Set-Cookie: MSOWebPartPage_AnonymousAccessCookie=80; expires=Mon, 22-Jun-2009 13:56:33 GMT; path=/
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 51891
…..
<Field Type="Lookup" DisplayName="État de la demande" Description="État de la demande" Required="FALSE" List="33eba11e-262f-46b9-91ef-6069ad979ab1" ShowField="Title" UnlimitedLengthInDocumentLibrary="FALSE" Group="CDPQ - Gestion des demandes" ID="{ab5821e7-2ecc-42aa-8765-c46e31327970}" StaticName="EtatDemande" Name="EtatDemande" xmlns="http://schemas.microsoft.com/sharepoint/" Version="1" WebId="f7912367-d29b-4fde-834d-0bf5a5520d93" SourceID="http://schemas.microsoft.com/sharepoint/v3" ColName="int12" RowOrdinal="0"/>…
But the field is never display in visual studio.
I have try with the 2008 version and i have the same behavior.
Any ideas?