<?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: SubmitToHost not updating Site Columns for Content Type (SharePoint 2010, InfoPath 2010)</title><link>https://www.infopathdev.com:443/forums/thread/77985.aspx</link><pubDate>Wed, 25 Apr 2012 19:19:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77985</guid><dc:creator>brichardson2001</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=77985</wfw:commentRss><description>I&amp;#39;m experiencing the same issue with a non-administered approved Infopath 2010 form.  When I go in and make a change to one of the fields in the form that has been promoted as a site column, the change is persisted, however, the value of the site column does not update.

And that&amp;#39;s strange, because I have a field called &amp;quot;Form Status&amp;quot; which controls the workflow state - and that is changed by actions in the form - and that value is updated as a site column.</description></item><item><title>SubmitToHost not updating Site Columns for Content Type (SharePoint 2010, InfoPath 2010)</title><link>https://www.infopathdev.com:443/forums/thread/76832.aspx</link><pubDate>Mon, 26 Mar 2012 05:58:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76832</guid><dc:creator>oui_dino</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=76832</wfw:commentRss><description>Hi guys,
&lt;br /&gt;
&lt;br /&gt;
I have an administrator-approved InfoPath 2010 form hosted in a XmlFormView control inside a SharePoint 2010 application page (deployed to Layouts)  This form submits to a hosting environment (ASP.NET), and works great when performing an initial submit.  The values for fields which I have promoted as site columns carry over their values nicely to the document library.  My problem starts when I open the form for updating.  The form is also opened using the application page.  I can submit the form without any issues, and the form preserves its data from the update; opening up the form again shows that the fields have been updated.  However, the values for fields that have been promoted as site columns do not get updated; the SharePoint columns retain the original values they had when the form was 1st submitted.
&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve tried a couple of approaches for this:
&lt;br /&gt;
&lt;ul&gt;- retrieved the file (InfoPath form) and updated it in the SubmitToHost event handler - doesn&amp;#39;t do anything different&lt;/ul&gt;
&lt;ul&gt;- retried the item that the file is tied to and tried updating that: SharePoint will throw an error saying the item is being updated (by the current user, which makes sense).&lt;/ul&gt;
&lt;ul&gt;- simply letting the post go through, which also doesn&amp;#39;t do anything.&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
I don&amp;#39;t want to have to open the InfoPath form via code and update the columns manually because the application page doesn&amp;#39;t know the form at design-time, and an Xml parser isn&amp;#39;t in the picture at the moment because we don&amp;#39;t have control over the conventions that the InfoPath form designers will use when building their forms.  I&amp;#39;ll probably also run into the same issue above about the item currently being updated (item 2).
&lt;br /&gt;
&lt;br /&gt;
So, the short question is: how do I let InfoPath update the SharePoint columns its fields are promoted to when submitting an &amp;quot;edited&amp;quot; (not new) form to a hosting environment?
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;

Dino</description></item></channel></rss>