<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16192.aspx</link><pubDate>Thu, 04 May 2006 20:01:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16192</guid><dc:creator>spr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16192</wfw:commentRss><description>Hi all&lt;br /&gt;Will you please tell me how to write CAML to delete listitem.</description></item><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16191.aspx</link><pubDate>Mon, 24 Apr 2006 07:25:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16191</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16191</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;i havent tried with update, but with Cmd='New' i havent had any problems (as long as its a valid lookup ID ofcourse (in the solution i delete and create new)&lt;br /&gt;&lt;br /&gt;string strBatch = "&amp;lt;Method ID='" + number + "' Cmd='New'&amp;gt;" +&lt;br /&gt;	"&amp;lt;Field Name='ID'&amp;gt;New&amp;lt;/Field&amp;gt;" +&lt;br /&gt;	"&amp;lt;Field Name='Title'&amp;gt;&amp;lt;![CDATA[" + equipmentText + "]]&amp;gt;&amp;lt;/Field&amp;gt;" +&lt;br /&gt;	"&amp;lt;Field Name='Equipment_x0020_Type'&amp;gt;&amp;lt;![CDATA[" + typeText + "]]&amp;gt;&amp;lt;/Field&amp;gt;" +&lt;br /&gt;	"&amp;lt;Field Name='Recommendation'&amp;gt;&amp;lt;![CDATA[" + recommendationText + "]]&amp;gt;&amp;lt;/Field&amp;gt;" +&lt;br /&gt;	"&amp;lt;Field Name='Area'&amp;gt;" + areaID + "&amp;lt;/Field&amp;gt;" +&lt;br /&gt;	"&amp;lt;/Method&amp;gt;";&lt;br /&gt;&lt;br /&gt;hth</description></item><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16190.aspx</link><pubDate>Sun, 23 Apr 2006 09:17:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16190</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16190</wfw:commentRss><description>Sharepoint gives an unique ID value for each row. You will have to first call GetListItems to get the ID of the specific row whose value you want to use to update the Look up field. Now that you have the ID field value, use that as input value. &lt;br /&gt;&lt;br /&gt;There is some code at&lt;a target="_blank" href=http://weblogs.asp.net/bsimser/archive/2005/05/13/406734.aspx&gt;http://weblogs.asp.net/bsimser/archive/2005/05/13/406734.aspx&lt;/a&gt; that might help.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16189.aspx</link><pubDate>Wed, 19 Apr 2006 09:09:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16189</guid><dc:creator>gaurs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16189</wfw:commentRss><description>I could get the date field to update properly. But I am unble to update a lookup field. &lt;br /&gt;I have a Request ID - text field on the doc library. This will be unique. Then I have another doc library where  I have a lookup column which refers to Request ID of the prev lib. How do I update the lookup column value. If I psecify the requedt ID directly, it does not work.&lt;br /&gt;I came across some information that to update lookup column, you have to give the ID of the references list/doc entry. However this is not working for me. Could someone share exact format for this.&lt;br /&gt;&lt;br /&gt;This is my code:&lt;br /&gt;&lt;br /&gt;		string myPlan = string.Format(&lt;br /&gt;			"&amp;lt;Method ID='1' Cmd='Update'&amp;gt;" +&lt;br /&gt;			"&amp;lt;Field Name='ID'&amp;gt;" + docId +"&amp;lt;/Field&amp;gt;" +&lt;br /&gt;			"&amp;lt;Field Name='FileRef'&amp;gt;" + myUrl "&amp;lt;/Field&amp;gt;" +&lt;br /&gt;			//"&amp;lt;Field Name='RequestId'&amp;gt;{0}&amp;lt;/Field&amp;gt;" +&lt;br /&gt;			"&amp;lt;Field Name='SupportPlanId'&amp;gt;{0}&amp;lt;/Field&amp;gt;" +&lt;br /&gt;			"&amp;lt;/Method&amp;gt;",&lt;br /&gt;	----&amp;gt;&amp;gt;&amp;gt;&amp;gt;		//requestId,&lt;br /&gt;			supportPlanId);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do I specify the correct ID in the code marked with arrow?&lt;br /&gt;</description></item><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16188.aspx</link><pubDate>Mon, 17 Apr 2006 03:59:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16188</guid><dc:creator>gaurs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16188</wfw:commentRss><description>How can I find that? Or is there a way in which I can query the SQL format and then convert to that format?</description></item><item><title>Re: Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/16187.aspx</link><pubDate>Sun, 16 Apr 2006 06:53:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16187</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16187</wfw:commentRss><description>Hi Gaurs,&lt;br /&gt;Probably has something to do with type of data since SQL datetime is different from the XML data type in InfoPath.</description></item><item><title>Date field not updated using updatelistitems</title><link>https://www.infopathdev.com:443/forums/thread/15387.aspx</link><pubDate>Fri, 14 Apr 2006 09:07:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15387</guid><dc:creator>gaurs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15387</wfw:commentRss><description>I am trying to use updatelistitems method of lists webservice to update a custom list. It works great for text/number columns but when I try to update date column, no error is returned but column does not get updated in the custom list. Problem also with lookup columns and person/group columns. Any pointers would be greatly appreciated.</description></item></channel></rss>