Hi Matt, I followed your steps and understand what the process is, but after I inject the xml into the data connection's .xml file the query fails to connect. Here's my query:
<query>
<columns>
<column name="ID"/>
<column name="Name"/>
<column name="Code"/>
<column name="ClientId"/>
<column name="PrimaryContact"/>
<column name="StartDate"/>
<column name="TotalBudget"/>
<column name="Billable"/>
<column name="Active"/>
<column name="DocId"/>
</columns>
<sort>
<column name="Name" order="DESC"/>
</sort>
</query>
I am attaching screenshots of the Infopath error message returned.
My first guess would be that there is something wrong with the query itself, because without the query above the service works perfectly. From the documents listed in my original post, I understand that all the columns need to be listed in the query, even if the filtering/sorting performed does not involve all the columns. Still, is there anything that stands out as incorrect in the query above?
Thanks again for your help.