<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/71620.aspx</link><pubDate>Wed, 02 Nov 2011 07:32:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71620</guid><dc:creator>proudestmonkey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71620</wfw:commentRss><description>Hi Jarecki,

Did you ever find a solution for this? I am facing a similar prospect of having to update InfoPath promoted fields in SharePoint lists and I will need to do it programatically so that I can update multiple files with values in say a CSV file.</description></item><item><title>Re: Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/62152.aspx</link><pubDate>Fri, 10 Dec 2010 09:54:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62152</guid><dc:creator>Jarecki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62152</wfw:commentRss><description>&lt;p&gt;SPListItem item = ... &lt;/p&gt;
&lt;p&gt;Works fine: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Name&amp;quot;] = &amp;quot;new name&amp;quot;; item.Update(); &lt;/p&gt;
&lt;p&gt;For promoted field, doesn&amp;#39;t work: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Semester&amp;quot;] = &amp;quot;10&amp;quot;; item.Update(); &lt;/p&gt;</description></item><item><title>Re: Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/62151.aspx</link><pubDate>Fri, 10 Dec 2010 09:54:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62151</guid><dc:creator>Jarecki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62151</wfw:commentRss><description>&lt;p&gt;SPListItem item = ... &lt;/p&gt;
&lt;p&gt;Works fine: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Name&amp;quot;] = &amp;quot;new name&amp;quot;; item.Update(); &lt;/p&gt;
&lt;p&gt;For promoted field, doesn&amp;#39;t work: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Semester&amp;quot;] = &amp;quot;10&amp;quot;; item.Update(); &lt;/p&gt;</description></item><item><title>Re: Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/62150.aspx</link><pubDate>Fri, 10 Dec 2010 08:03:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62150</guid><dc:creator>Jarecki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62150</wfw:commentRss><description>&lt;p&gt;Thank you Patrick for reply!&lt;/p&gt;
&lt;p&gt;In my scenario user fills in form, signs it digitally and clicks button &amp;#39;Send&amp;#39;. Then webservice is invoked, &lt;/p&gt;
&lt;p&gt;some&amp;nbsp;of data&amp;nbsp;is saved to database (from dataset) and at this moment I want to modify one of fields in my &lt;/p&gt;
&lt;p&gt;form (saved on SP and from webservice level!). Promoted fields are&amp;nbsp;marked as read only and I don&amp;#39;t wan&amp;#39;t&amp;nbsp;&lt;/p&gt;
&lt;p&gt;them to be changed by user manually.&lt;/p&gt;
&lt;p&gt;Solution from stackoverflow works fine for me but&amp;nbsp;is slow (get forms contents, parse, modify, upload).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m searching&amp;nbsp;for something like this: open SP site -&amp;gt;&amp;nbsp;open form library -&amp;gt; open form -&amp;gt; edit SP field &lt;/p&gt;
&lt;p&gt;(automatically update infopath form contents). I have tried to edit in this way, but it doesn&amp;#39;t work for fields&lt;/p&gt;
&lt;p&gt;connected with Infopath form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards Jarecki&lt;/p&gt;</description></item><item><title>Re: Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/62117.aspx</link><pubDate>Thu, 09 Dec 2010 14:55:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62117</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62117</wfw:commentRss><description>&lt;p&gt;Hi Jarecki! &lt;/p&gt;
&lt;p&gt;That StackOverflow post is just silly. Some dev no doubt. You don&amp;#39;t need code. Just turn on &amp;quot;property demotion&amp;quot; in 2007 or 2010 (when you publish your form, it&amp;#39;s the same dialog that you use to specify field to promote to a SharePoint library). If you have 2003, you can still specify demotion manually but it&amp;#39;s more of a hassle (let me know if you have 2003). &lt;/p&gt;
&lt;p&gt;Anyway, once you have specified &amp;quot;property demotion&amp;quot; you can add a datagrid view&amp;nbsp;to your SharePoint form library and change the values via that. No need to open InfoPath.&lt;/p&gt;
&lt;p&gt;Best!&lt;/p&gt;</description></item><item><title>Programmatically changing promoted field on Sharepoint</title><link>https://www.infopathdev.com:443/forums/thread/62109.aspx</link><pubDate>Thu, 09 Dec 2010 13:46:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62109</guid><dc:creator>Jarecki</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62109</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I promote a few fields while publishing Infopath template to server.&lt;/p&gt;
&lt;p&gt;Is there any way to edit single promoted field via Sharepoint (programmatically)&amp;nbsp;without&amp;nbsp;downloading entire xml and saving it back?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using this solution: &lt;a href="http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields"&gt;http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards Jarecki &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>