<?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: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/49000.aspx</link><pubDate>Thu, 12 Nov 2009 17:49:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49000</guid><dc:creator>Patrick Finnicum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=49000</wfw:commentRss><description>&lt;p&gt;(for the sake of those who follow this conversation at a later date)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;manage data connections -&amp;gt; Add -&amp;gt; Create/Receive -&amp;gt; SharePoint -&amp;gt; (provide server) -&amp;gt; (provide list)&amp;nbsp; -&amp;gt; checkbox is here, below where you select the fields/columns.&lt;/p&gt;</description></item><item><title>Re: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48998.aspx</link><pubDate>Thu, 12 Nov 2009 17:38:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48998</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48998</wfw:commentRss><description>&lt;p&gt;Where is that checkbox? I&amp;#39;m not familiar with what you&amp;#39;re talking about there.&lt;/p&gt;
&lt;p&gt;Ok, I found it.&amp;nbsp; I&amp;#39;ve never used that.&amp;nbsp; What I see is that the setting does work, because if you drag the repeating group from that data connection to the canvas and let it create a repeating table, then when you open a form it only shows the data from that one form.&amp;nbsp; However, trying to set another field in the form&amp;#39;s main data source to the value of those fields does not show anything unless you use the filter method I mentioned.&amp;nbsp; Interesting.&lt;/p&gt;</description></item><item><title>Re: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48997.aspx</link><pubDate>Thu, 12 Nov 2009 17:29:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48997</guid><dc:creator>Patrick Finnicum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48997.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48997</wfw:commentRss><description>&lt;p&gt;That&amp;nbsp;solved it.&amp;nbsp; I agree, much easier than workflow manipulation.&amp;nbsp; Truly appreciate your help.&lt;/p&gt;
&lt;p&gt;sorry...&amp;nbsp; &amp;nbsp;&amp;quot;to the new SharePoint column for only that form data&amp;quot; -&amp;gt; &amp;quot;Include Data for the active form only&amp;quot; checkbox.&amp;nbsp; guess i should&amp;#39;ve been more&amp;nbsp;precise&amp;nbsp;with that.&lt;/p&gt;
&lt;p&gt;anyhow, i&amp;#39;m taking you up on the promotion technique.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48996.aspx</link><pubDate>Thu, 12 Nov 2009 17:19:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48996</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48996.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48996</wfw:commentRss><description>&lt;p&gt;If you want your workflow to be able to manipulate the field, then simply check the box during publishing that says &amp;quot;allow this field to be edited in SharePoint.&amp;quot;&amp;nbsp; That&amp;#39;s what I do whenever I need my workflow to be able to edit a field in the form.&amp;nbsp; It actually edits the field in SharePoint, which then syncs with the form the next time it&amp;#39;s opened.&amp;nbsp; If you can avoid changing the value with the workflow and instead use conditional rules in your submit buttons within the form, that would be best.&amp;nbsp; This is how I typically do it for changing my workflow status...&lt;/p&gt;
&lt;p&gt;As for the method you&amp;#39;re using, it should work.&amp;nbsp; I don&amp;#39;t know why it&amp;#39;s not.&amp;nbsp; The key point is #2.&amp;nbsp; What do you mean when you say &amp;quot;to the new SharePoint column for only that form data.&amp;quot;&amp;nbsp; How are you making a data connection that only goes to a form?&amp;nbsp; You can&amp;#39;t do that, so I don&amp;#39;t know if that&amp;#39;s the issue or what.&amp;nbsp; All you can do is make a data connection to the library, and it will retrieve data for all items in the default view of the form library.&amp;nbsp; Then, it&amp;#39;s up to you to use filtering to retrieve only that field&amp;#39;s value for the current form.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t do #3 - that is done by the data connection settings itself on the last page of the wizard where you check the box that says &amp;quot;automatically retrieve data.&amp;quot;&amp;nbsp; Don&amp;#39;t do it twice with a form load rule.&lt;/p&gt;
&lt;p&gt;For #4, instead of a form load rule, just set a default value on the field and set it like this:&lt;/p&gt;
&lt;p&gt;DecimalField(fromSP) where Title(SP) equals strFilename(form)&lt;/p&gt;
&lt;p&gt;Or, you can compare some other field that defines your form.&amp;nbsp; To use the Title of the form, you&amp;#39;ll need to use something like my technique in this blog:&lt;/p&gt;
&lt;p&gt;&lt;a title="Auto-Generating Filenames for InfoPath&amp;nbsp;Forms" href="http://claytoncobb.wordpress.com/2009/06/20/auto-generating-filenames-for-infopath-forms/"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath – Auto-Generating Filenames&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you use my technique, then you have unique filenames that allow for subsequent editing and don&amp;#39;t rely on the user to type in a filename.&amp;nbsp; You then know for sure that you have a piece of metadata that you can compare between the SP retrieve data connection and your form itself.&lt;/p&gt;</description></item><item><title>Re: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48994.aspx</link><pubDate>Thu, 12 Nov 2009 16:42:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48994</guid><dc:creator>Patrick Finnicum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48994</wfw:commentRss><description>&lt;p&gt;thanks warrtalon...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i&amp;#39;m hesitant to promote the field, as it turns read-only and my workflow on the SP end cannot manipulate it.&amp;nbsp; i might be able to override that in a c# workflow using elevated privs -- just trying to avert a headache.&lt;/p&gt;
&lt;p&gt;just so i&amp;#39;m reading your post correctly,&amp;nbsp;the following recipe will not&amp;nbsp;work?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In SharePoint:&amp;nbsp; add a column to the form library, let&amp;#39;s say a number without decimals just to make it simple.&lt;/li&gt;
&lt;li&gt;In InfoPath Form:&amp;nbsp; add a&amp;nbsp;new receive data connection&amp;nbsp;pointing to the new SharePoint column for only that form data.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;comment:&amp;nbsp; InfoPath receive data connections currently recognize new columns added to form libraries as a valid data source.&lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;In InfoPath Form:&amp;nbsp; add a&amp;nbsp;&amp;quot;form open&amp;quot; rule that queries the data connection (unsure if that&amp;#39;s needed)&lt;/li&gt;
&lt;li&gt;In InfoPath Form:&amp;nbsp; set a text field&amp;nbsp;= the new&amp;nbsp;receive data connection, either through a &amp;quot;open form&amp;quot; rule or as the default value of the field.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;on the surface, it doesn&amp;#39;t seem to be a complex matter.&amp;nbsp; or am i&amp;nbsp;venturing into&amp;nbsp;an immature/undocumented feature of IP?&lt;/p&gt;
&lt;p&gt;thanks again for your attention, warrtalon (or anyone else that jumps on the discussion).&lt;/p&gt;</description></item><item><title>Re: Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48990.aspx</link><pubDate>Thu, 12 Nov 2009 16:09:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48990</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48990.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48990</wfw:commentRss><description>&lt;p&gt;Did you add it to the SP library or to the form and then promote it to the library?&amp;nbsp; Just adding a column to the form library will not make it show up in the form.&amp;nbsp; I recommend creating the field in the form template, set your default value in the form, promote the field, and then go from there.&lt;/p&gt;</description></item><item><title>Difficulty Receiving Data - doc library</title><link>https://www.infopathdev.com:443/forums/thread/48989.aspx</link><pubDate>Thu, 12 Nov 2009 15:58:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48989</guid><dc:creator>Patrick Finnicum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48989</wfw:commentRss><description>&lt;p&gt;TIA for any and all help.&lt;/p&gt;
&lt;p&gt;Running across something that has me stumped.&amp;nbsp; Have an IP form published to a doc library.&amp;nbsp; I can create a new one and submit it to the library and everything there works beautifully.&lt;/p&gt;
&lt;p&gt;Added a new field to the doc library called &amp;quot;NextStep&amp;quot; and set the default to 0.&amp;nbsp; Added a new receive data connection to the form to grab this value, only for data for the active form only.&amp;nbsp; Form is not grabbing the value from the new field, either the initial value or if it changes (and then form reopened).&lt;/p&gt;
&lt;p&gt;I have tried:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;creating an expression popup rule when the form is opened to display the data connection value.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;creating a rule to query the data connection, before displaying anything.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;creating a rule to set a textbox value to the data connection.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;set a textbox&amp;#39;s default value = the data connection value.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;disqualifying the new field,&amp;nbsp;pointing the data connection to the title of the doc library item.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Nothing seems to be working.&amp;nbsp; Anyone run into something similar?&lt;/p&gt;</description></item></channel></rss>