<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Writing CAML Queries For Retrieving List Items from a SharePoint List</title>
	<atom:link href="http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/feed" rel="self" type="application/rss+xml" />
	<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list</link>
	<description>SharePoint Magazine is an online Magazine dedicated to the world of SharePoint</description>
	<lastBuildDate>Thu, 18 Mar 2010 01:14:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jimboalba</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2646</link>
		<dc:creator>jimboalba</dc:creator>
		<pubDate>Thu, 04 Mar 2010 12:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2646</guid>
		<description>Excellent post about CAML.  This helped me on working with web services between VS2005 and VS2008.</description>
		<content:encoded><![CDATA[<p>Excellent post about CAML.  This helped me on working with web services between VS2005 and VS2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vince Yotsukura</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2488</link>
		<dc:creator>Vince Yotsukura</dc:creator>
		<pubDate>Fri, 15 Jan 2010 02:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2488</guid>
		<description>This is a very helpful article! Can anyone tell me whether it is possible to insert a bitwise AND operator into a CAML query? I am trying to filter for certain bitwise values in an integer field and I&#039;m looking for a way to incorporate this into my CAML query. The SQL equivalent of this part of the query would be: &lt;br&gt;&lt;br&gt;WHERE (DOCSTATUS &amp; 8 = 0) &lt;br&gt;AND (DOCSTATUS &amp; 1 = 1) &lt;br&gt;&lt;br&gt;DOCSTATUS is the integer field in my SharePoint library.</description>
		<content:encoded><![CDATA[<p>This is a very helpful article! Can anyone tell me whether it is possible to insert a bitwise AND operator into a CAML query? I am trying to filter for certain bitwise values in an integer field and I&#39;m looking for a way to incorporate this into my CAML query. The SQL equivalent of this part of the query would be: </p>
<p>WHERE (DOCSTATUS &#038; 8 = 0) <br />AND (DOCSTATUS &#038; 1 = 1) </p>
<p>DOCSTATUS is the integer field in my SharePoint library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rachel</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2282</link>
		<dc:creator>rachel</dc:creator>
		<pubDate>Thu, 07 Jan 2010 04:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2282</guid>
		<description>Hi Karine, &lt;br&gt;&lt;br&gt;In Building Queries for Calendar Lists, if I want to use SPD to build a workflow to update recurrencedata field in Calendar A when Calendar B is changed, how do I parse the xml without export to ical?  &lt;br&gt;&lt;br&gt;Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Karine, </p>
<p>In Building Queries for Calendar Lists, if I want to use SPD to build a workflow to update recurrencedata field in Calendar A when Calendar B is changed, how do I parse the xml without export to ical?  </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarang Gupta</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2281</link>
		<dc:creator>Tarang Gupta</dc:creator>
		<pubDate>Tue, 29 Dec 2009 20:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2281</guid>
		<description>in &quot;Building Queries for working with DateTime Values&quot; section IncludeTimeValue=&#039;TRUE&#039; attribute is part of value tag, not fieldref tag.</description>
		<content:encoded><![CDATA[<p>in &#8220;Building Queries for working with DateTime Values&#8221; section IncludeTimeValue=&#39;TRUE&#39; attribute is part of value tag, not fieldref tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J?nis Veinbergs</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2155</link>
		<dc:creator>J?nis Veinbergs</dc:creator>
		<pubDate>Wed, 16 Dec 2009 15:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2155</guid>
		<description>&quot;Today will not take a time part into account. Unfortunately a Now element doesn’t exist.&quot;&lt;br&gt;&lt;br&gt;However, you can use undocumented IncludeTimeValue=&#039;TRUE&#039; to include take time part into account.&lt;br&gt;&lt;a href=&quot;http://www.wirwar.com/blog/2008/07/30/sharepoint-frustrations-1-the-undocumented-includetimevalue-caml-attribute/&quot; rel=&quot;nofollow&quot;&gt;http://www.wirwar.com/blog/2008/07/30/sharepoin...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>&#8220;Today will not take a time part into account. Unfortunately a Now element doesn’t exist.&#8221;</p>
<p>However, you can use undocumented IncludeTimeValue=&#39;TRUE&#39; to include take time part into account.<br /><a href="http://www.wirwar.com/blog/2008/07/30/sharepoint-frustrations-1-the-undocumented-includetimevalue-caml-attribute/" rel="nofollow"></a><a href="http://www.wirwar.com/blog/2008/07/30/sharepoin.." rel="nofollow">http://www.wirwar.com/blog/2008/07/30/sharepoin..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boxbob</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-2135</link>
		<dc:creator>boxbob</dc:creator>
		<pubDate>Fri, 11 Dec 2009 14:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-2135</guid>
		<description>did you ever get the resolved, I read that it&#039;s part of the web service design to reduce the amount of xml. seems lame. at least provide an option to return all fields</description>
		<content:encoded><![CDATA[<p>did you ever get the resolved, I read that it&#39;s part of the web service design to reduce the amount of xml. seems lame. at least provide an option to return all fields</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dsoutter</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1957</link>
		<dc:creator>dsoutter</dc:creator>
		<pubDate>Sun, 08 Nov 2009 13:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1957</guid>
		<description>Great Article!!  I have done this from an InfoPath Form in the past, but not using Visual Studio.  I found this very helpful when trying to build CAML queries for adding/updating items is SharePoint lists (using the UpdateListItems method) when developing Workflows using Visual Studio.&lt;br&gt;&lt;br&gt;&lt;a href=http://blog-sharepoint.blogspot.com/2009/07/summary-how-to-programmatically-update.html rel=&quot;nofollow&quot;&gt;See this also - SharePoint CAML&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Great Article!!  I have done this from an InfoPath Form in the past, but not using Visual Studio.  I found this very helpful when trying to build CAML queries for adding/updating items is SharePoint lists (using the UpdateListItems method) when developing Workflows using Visual Studio.</p>
<p><a href=http://blog-sharepoint.blogspot.com/2009/07/summary-how-to-programmatically-update.html rel="nofollow">See this also &#8211; SharePoint CAML</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cotswoldsbb</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1953</link>
		<dc:creator>cotswoldsbb</dc:creator>
		<pubDate>Sat, 07 Nov 2009 20:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1953</guid>
		<description>Thank you thank you thank you. Ive been looking everywhere for this exact article.&lt;br&gt;&lt;br&gt;Good work..</description>
		<content:encoded><![CDATA[<p>Thank you thank you thank you. Ive been looking everywhere for this exact article.</p>
<p>Good work..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarangasl</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1800</link>
		<dc:creator>sarangasl</dc:creator>
		<pubDate>Fri, 09 Oct 2009 14:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1800</guid>
		<description>Nice !!!!!!!!&lt;br&gt;&lt;br&gt;Try this too,&lt;br&gt;&lt;a href =&quot;http://sarangasl.blogspot.com/2009/09/sharepoint-list-c-part-1.html&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;SharePoint Lists and more&lt;/b&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Nice !!!!!!!!</p>
<p>Try this too,<br /><a href ="http://sarangasl.blogspot.com/2009/09/sharepoint-list-c-part-1.html" rel="nofollow"><b>SharePoint Lists and more</b></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sweha</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1711</link>
		<dc:creator>sweha</dc:creator>
		<pubDate>Wed, 05 Aug 2009 12:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1711</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;I am trying to get listitems using the same method. I have a order no field in the list and some other fields are Customers which is a lookup and date which is a calculated column and Agency which is a text.&lt;br&gt;&lt;br&gt;I am querying by order no.&lt;br&gt;&lt;br&gt;I can retrieve Agency as it is a simple text, but I can&#039;t seem to get Customer name and Date as one is a lookup and one is a date. It is my necessity that I query by order number only and for each order number, get the rest of the data for each listitem.&lt;br&gt;&lt;br&gt;Can you share your ideas please?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to get listitems using the same method. I have a order no field in the list and some other fields are Customers which is a lookup and date which is a calculated column and Agency which is a text.</p>
<p>I am querying by order no.</p>
<p>I can retrieve Agency as it is a simple text, but I can&#39;t seem to get Customer name and Date as one is a lookup and one is a date. It is my necessity that I query by order number only and for each order number, get the rest of the data for each listitem.</p>
<p>Can you share your ideas please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeepnahta</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1325</link>
		<dc:creator>sandeepnahta</dc:creator>
		<pubDate>Wed, 05 Aug 2009 04:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1325</guid>
		<description>Offset option didn&#039;t work . it has to be OffsetDay=&#039;-7&#039;</description>
		<content:encoded><![CDATA[<p>Offset option didn&#39;t work . it has to be OffsetDay=&#39;-7&#39;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suzanne</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1277</link>
		<dc:creator>suzanne</dc:creator>
		<pubDate>Fri, 24 Jul 2009 23:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1277</guid>
		<description>I solved my problem by using U2U CAML builder. Great app!!!</description>
		<content:encoded><![CDATA[<p>I solved my problem by using U2U CAML builder. Great app!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suzanne</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1276</link>
		<dc:creator>suzanne</dc:creator>
		<pubDate>Fri, 24 Jul 2009 21:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1276</guid>
		<description>I installed the Employee training site template and have lists associated with that template. One of the lists is Past Registrations where items from another list are moved by workflow after an event.  Weird thing:  a query of this list (with no conditions) does not return all list items. What can I do?</description>
		<content:encoded><![CDATA[<p>I installed the Employee training site template and have lists associated with that template. One of the lists is Past Registrations where items from another list are moved by workflow after an event.  Weird thing:  a query of this list (with no conditions) does not return all list items. What can I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scvinod</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1144</link>
		<dc:creator>scvinod</dc:creator>
		<pubDate>Tue, 21 Jul 2009 12:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1144</guid>
		<description>Hi Ms.Karine,&lt;br&gt;&lt;br&gt;                I&#039;m not able to retrieve a column from a sharepoint list that has some empty values.I&#039;m getting this error &quot;Object referrence not set to instance of an object&quot;.Can anyone please help me out.</description>
		<content:encoded><![CDATA[<p>Hi Ms.Karine,</p>
<p>                I&#39;m not able to retrieve a column from a sharepoint list that has some empty values.I&#39;m getting this error &#8220;Object referrence not set to instance of an object&#8221;.Can anyone please help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharepoint guy</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1038</link>
		<dc:creator>sharepoint guy</dc:creator>
		<pubDate>Thu, 16 Jul 2009 19:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1038</guid>
		<description>you need to use &lt;Today OffsetDays=&quot;1&quot; /&gt; instead of &lt;Today Offset=&quot;1&quot;/&gt; to make query work.</description>
		<content:encoded><![CDATA[<p>you need to use &lt;Today OffsetDays=&#8221;1&#8243; /&gt; instead of &lt;Today Offset=&#8221;1&#8243;/&gt; to make query work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scvinod</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1026</link>
		<dc:creator>scvinod</dc:creator>
		<pubDate>Thu, 16 Jul 2009 12:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1026</guid>
		<description>Hi all,&lt;br&gt;&lt;br&gt;     Is it possible to write an IF function in a CAML query or is it possible to use a valure returned from a function???</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>     Is it possible to write an IF function in a CAML query or is it possible to use a valure returned from a function???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scvinod</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1024</link>
		<dc:creator>scvinod</dc:creator>
		<pubDate>Thu, 16 Jul 2009 11:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1024</guid>
		<description>Hi Karine and others,&lt;br&gt;&lt;br&gt;                          Hey guys i have column called &quot;Managers&quot; in my list in which i have to more than 1 value like this &quot;vinod:sc&quot; which means vinod and sc are the 2 managers.Is it possible in my CAML query to get the 2 values separately ???</description>
		<content:encoded><![CDATA[<p>Hi Karine and others,</p>
<p>                          Hey guys i have column called &#8220;Managers&#8221; in my list in which i have to more than 1 value like this &#8220;vinod:sc&#8221; which means vinod and sc are the 2 managers.Is it possible in my CAML query to get the 2 values separately ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scvinod</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1023</link>
		<dc:creator>scvinod</dc:creator>
		<pubDate>Thu, 16 Jul 2009 11:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1023</guid>
		<description>@bamarob55&lt;br&gt;&lt;br&gt;that must becoz the internal field name of of the column &quot;last Name&quot;would different from what you see.Please get the internal field name by this code &quot;list.Fields[&quot;Manager&quot;].InternalName.ToString();&quot; and then put the name tht u get in the CAML query.</description>
		<content:encoded><![CDATA[<p>@bamarob55</p>
<p>that must becoz the internal field name of of the column &#8220;last Name&#8221;would different from what you see.Please get the internal field name by this code &#8220;list.Fields["Manager"].InternalName.ToString();&#8221; and then put the name tht u get in the CAML query.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bamarob55</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-1018</link>
		<dc:creator>bamarob55</dc:creator>
		<pubDate>Thu, 16 Jul 2009 03:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-1018</guid>
		<description>I&#039;m having trouble getting all the fields to return.  I&#039;m having trouble with any fields that have a space in the field name. I.e.:&lt;br&gt;&lt;br&gt;ndViewFields.InnerXml = &quot;&lt;FieldRef Name=&#039;Last Name&#039;/&gt;&lt;FieldRef Name=&#039;Author&#039;/&gt;&lt;FieldRef Name=&#039;Department&#039;/&gt;&lt;FieldRef Name=&#039;Crew&#039;/&gt;&quot;&lt;br&gt;&lt;br&gt;works fine to return Author, Department, and Crew, but the Last Name field doesn&#039;t get returned.  Any tips you can provide would be much appreciated.&lt;br&gt;&lt;br&gt;I&#039;m using the &quot;Retrieving List Items with CAML using the SharePoint Web Services&quot; method.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Robert</description>
		<content:encoded><![CDATA[<p>I&#39;m having trouble getting all the fields to return.  I&#39;m having trouble with any fields that have a space in the field name. I.e.:</p>
<p>ndViewFields.InnerXml = &#8220;&lt;FieldRef Name=&#39;Last Name&#39;/&gt;&lt;FieldRef Name=&#39;Author&#39;/&gt;&lt;FieldRef Name=&#39;Department&#39;/&gt;&lt;FieldRef Name=&#39;Crew&#39;/&gt;&#8221;</p>
<p>works fine to return Author, Department, and Crew, but the Last Name field doesn&#39;t get returned.  Any tips you can provide would be much appreciated.</p>
<p>I&#39;m using the &#8220;Retrieving List Items with CAML using the SharePoint Web Services&#8221; method.</p>
<p>Thanks,</p>
<p>Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinod</title>
		<link>http://sharepointmagazine.net/technical/development/writing-caml-queries-for-retrieving-list-items-from-a-sharepoint-list/comment-page-1#comment-988</link>
		<dc:creator>vinod</dc:creator>
		<pubDate>Fri, 10 Jul 2009 18:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointmagazine.net/?p=506#comment-988</guid>
		<description>Hi Karine n others,&lt;br&gt;&lt;br&gt;                       Is it possible to write a CAML query within a CAML query.Please help me out.Thank you.</description>
		<content:encoded><![CDATA[<p>Hi Karine n others,</p>
<p>                       Is it possible to write a CAML query within a CAML query.Please help me out.Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
