<?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: Editing Business Data Using Business Data Catalog Actions and InfoPath Forms Service</title><link>https://www.infopathdev.com:443/forums/thread/33100.aspx</link><pubDate>Wed, 15 Oct 2008 02:00:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33100</guid><dc:creator>aniket</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=33100</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I understand your point and accordingly changed my code. Now I am able to publish the form template. I am also trying to implement same article and added &amp;quot;Edit Action&amp;quot;. I published the infopath form template, and in SPS-Entity, I added a edit action like this with using different&amp;nbsp;urls,&amp;nbsp;but it is giving me error&lt;br /&gt;&lt;br /&gt;&lt;a href="http://portal/FormServerTemplates/_layouts/FormServer.aspx?XsnLocation=http://portal/FormServerTemplates/myform54New.xsn&amp;amp;amp;DefaultItemOpen=1&amp;amp;amp;MyPrimaryField={0}&amp;amp;amp;myCode1={1}&amp;amp;amp;myIncidentNo1={2"&gt;&lt;font color="#0072bc"&gt;http://portal/FormServerTemplates/_layouts/FormServer.aspx?XsnLocation=http://portal/FormServerTemplates/myform54New.xsn&amp;amp;amp;DefaultItemOpen=1&amp;amp;amp;MyPrimaryField={0}&amp;amp;amp;myCode1={1}&amp;amp;amp;myIncidentNo1={2&lt;/font&gt;&lt;/a&gt;}&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://portal/FormServerTemplates/myform54New.xsn&amp;amp;amp;DefaultItemOpen=1&amp;amp;amp;MyPrimaryField=%7B0%7D&amp;amp;amp;myCode1=%7B1%7D&amp;amp;amp;myIncidentNo1=%7B2%7D&amp;nbsp;"&gt;&lt;font color="#0072bc"&gt;http://portal/FormServerTemplates/&lt;/font&gt;&lt;font color="#0000ff"&gt;myform54New.xsn&amp;amp;amp;DefaultItemOpen=1&amp;amp;amp;MyPrimaryField={0}&amp;amp;amp;myCode1={1}&amp;amp;amp;myIncidentNo1={2&lt;/font&gt;&lt;font color="#0072bc"&gt;}&amp;nbsp;&lt;br /&gt;&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;It is giving Bed Request Error&lt;br /&gt;&lt;br /&gt;If I tried only&amp;nbsp;&lt;a href="http://portal/FormServerTemplates/myform54New.xsn"&gt;&lt;font color="#0072bc"&gt;http://portal/FormServerTemplates/&lt;/font&gt;&lt;font color="#0000ff"&gt;myform54New.xsn&lt;/font&gt;&lt;/a&gt;, it will open a blank infopath form by clicking on &amp;quot;Edit Action&amp;quot; on BDC Data List.&lt;br /&gt;&lt;br /&gt;Anyone did this, actually I am trying to Integrate BDC &amp;quot;Edit Action&amp;quot; for an selected record and allow user to update. I dont want to user aspx form here.&lt;br /&gt;&lt;br /&gt;ANy Idea&lt;/p&gt;</description></item><item><title>Re: Editing Business Data Using Business Data Catalog Actions and InfoPath Forms Service</title><link>https://www.infopathdev.com:443/forums/thread/33099.aspx</link><pubDate>Wed, 15 Oct 2008 01:54:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33099</guid><dc:creator>Tom Lawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=33099</wfw:commentRss><description>&lt;p&gt;With the code you have written, there is a reference to a variable called &lt;strong&gt;itemcode &lt;/strong&gt;in the fifth line:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myNav.SelectSingleNode(&amp;quot;/my:myFields/my:itemcode&amp;quot;,&amp;nbsp;this.NamespaceManager).SetValue(&lt;strong&gt;itemcode&lt;/strong&gt;);&lt;br /&gt;but there is no variable of that name. Perhaps you mean to use &lt;strong&gt;id&lt;/strong&gt; for this variable?&lt;/p&gt;
&lt;p&gt;Also there is a similar problem with &lt;strong&gt;itemdesc&lt;/strong&gt; in the last line. Do you mean to use &lt;strong&gt;firstName&lt;/strong&gt; there instead?&lt;/p&gt;</description></item><item><title>Editing Business Data Using Business Data Catalog Actions and InfoPath Forms Service</title><link>https://www.infopathdev.com:443/forums/thread/33006.aspx</link><pubDate>Fri, 10 Oct 2008 20:29:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33006</guid><dc:creator>aniket</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=33006</wfw:commentRss><description>&lt;p&gt;Hello All&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;I read following article&amp;nbsp;and its sample code withmy own LOB&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb852170.aspx"&gt;&lt;font color="#0072bc"&gt;http://msdn.microsoft.com/en-us/library/bb852170.aspx&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;I am trying to use with my own lob with item table. Here I am trying to set initially with two fields itemcd, itemdesc.&lt;/p&gt;
&lt;p&gt;here is my code&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#7f9db9 1px solid;BORDER-TOP:#7f9db9 1px solid;FONT-SIZE:11px;OVERFLOW:auto;BORDER-LEFT:#7f9db9 1px solid;BORDER-BOTTOM:#7f9db9 1px solid;FONT-FAMILY:Courier New;BACKGROUND-COLOR:white;"&gt;
&lt;table class="" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;MARGIN:2px 0px;WIDTH:99%;BORDER-BOTTOM:#eee 0px solid;BORDER-COLLAPSE:collapse;BACKGROUND-COLOR:#fff;BORDER-RIGHT-WIDTH:0px;" cellspacing="0" cellpadding="0"&gt;



&lt;tr&gt;
&lt;td class=""&gt;&lt;font style="FONT-SIZE:11px;"&gt;XPathNavigator&amp;nbsp;&lt;/font&gt;&lt;font style="COLOR:red;"&gt;myNav&lt;/font&gt;&lt;font style="FONT-SIZE:11px;"&gt;&amp;nbsp;=&amp;nbsp;&lt;/font&gt;&lt;font style="COLOR:blue;"&gt;this&lt;/font&gt;&lt;font style="FONT-SIZE:11px;"&gt;.MainDataSource.CreateNavigator(); &amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="" style="BACKGROUND-COLOR:#f7f7f7;"&gt;string&amp;nbsp;&lt;/font&gt;&lt;font style="COLOR:red;"&gt;id&lt;/font&gt;&lt;font style="FONT-SIZE:11px;"&gt;&amp;nbsp;=&amp;nbsp;&lt;/font&gt;&lt;font style="COLOR:blue;"&gt;e&lt;/font&gt;&lt;font style="FONT-SIZE:11px;"&gt;.InputParameters[&amp;quot;itemcode&amp;quot;].ToString(); &amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;string&amp;nbsp;&lt;/font&gt;&lt;font style="COLOR:red;"&gt;firstName&lt;/font&gt;&lt;font style="FONT-SIZE:11px;"&gt;&amp;nbsp;=&amp;nbsp;e.InputParameters[&amp;quot;itemdesc&amp;quot;].ToString(); &amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="" style="BACKGROUND-COLOR:#f7f7f7;"&gt;myNav.SelectSingleNode(&amp;quot;/my:myFields/my:itemcode&amp;quot;,&amp;nbsp;this.NamespaceManager).SetValue(itemcode); &amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;myNav.SelectSingleNode(&amp;quot;/my:myFields/my:itemdesc&amp;quot;,&amp;nbsp;this.NamespaceManager).SetValue(itemdesc); &amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="" style="BACKGROUND-COLOR:#f7f7f7;"&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;
&lt;p&gt;But whenever I compile it is giving me error bor both field i.e.&lt;/p&gt;
&lt;p&gt;The name &amp;#39;itemcode&amp;#39; does not exist in the current context C:\Documents and Settings\ashishk\My Documents\InfoPath Projects\form541\FormCode.cs 40 96 form54&lt;/p&gt;
&lt;p&gt;Please advise, has anyone implemented this?&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Ashish&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>