<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieve rule returning the same value from SP list field</title><link>https://www.infopathdev.com:443/forums/thread/80082.aspx</link><pubDate>Mon, 02 Jul 2012 14:42:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80082</guid><dc:creator>guillo49</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80082</wfw:commentRss><description>&lt;p&gt;I am using SP2010 and IP 2007.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I spoke with the admin and we decided to set the status flag in the form (your first suggestions)&amp;nbsp;to allow us to change views as needed.&amp;nbsp; That seems to be working.&amp;nbsp; A SP workflow is being designed to allow the form to be moved, once it is completed, to another form library to prevent additional editing of the form.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Retrieve rule returning the same value from SP list field</title><link>https://www.infopathdev.com:443/forums/thread/80039.aspx</link><pubDate>Fri, 29 Jun 2012 23:10:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80039</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80039</wfw:commentRss><description>&lt;p&gt;I understand better now. &lt;/p&gt;
&lt;p&gt;So, what version of SharePoint are you using? If you are using 2010, and IP 2010, you&amp;#39;ll have query fields in your data connection you can leverage. Otherwise, you&amp;#39;ll need to add a filter to your XPath to select the correct Status out of the whole list that is returned in your data connection. Basically, you need a way to connect the Status with the form - does this list contain the form name or some other unique identifier?&lt;/p&gt;</description></item><item><title>Re: Retrieve rule returning the same value from SP list field</title><link>https://www.infopathdev.com:443/forums/thread/80037.aspx</link><pubDate>Fri, 29 Jun 2012 22:51:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80037</guid><dc:creator>guillo49</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80037</wfw:commentRss><description>The Status is stored on the SP list not the form.  The admin wants to set the status in SP since it would eliminate him from having to access the form to change the status.  I tested the retrieve by displaying the status coming back from the SP list and it present the entire listing of status for all the records.  I am trying to retrieve only the status for the record I&amp;#39;ve selected from the SP list.  

I&amp;#39;m not well versed in Infopath so I&amp;#39;m not sure what the best approach would be.</description></item><item><title>Re: Retrieve rule returning the same value from SP list field</title><link>https://www.infopathdev.com:443/forums/thread/80020.aspx</link><pubDate>Fri, 29 Jun 2012 19:29:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80020</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80020</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;So, when the admin sets the status - is that control bound to a main data source field? Like, does the form have a &amp;quot;Status&amp;quot; field? &lt;/p&gt;
&lt;p&gt;I&amp;#39;d think the form open rules would be based off a value stored in the form, not off data from a secondary data source....&lt;/p&gt;</description></item><item><title>Retrieve rule returning the same value from SP list field</title><link>https://www.infopathdev.com:443/forums/thread/79981.aspx</link><pubDate>Fri, 29 Jun 2012 15:17:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79981</guid><dc:creator>guillo49</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=79981</wfw:commentRss><description>&lt;p&gt;I am new to InfoPath and I&amp;#39;m trying to change the views of my form based on a status value coming from a SP2010 list. I have published a form to a SP2010 list which has additional fields that can be updated in SP. The SP field &amp;quot;PR Status&amp;quot; is a choice field with &amp;quot;Open&amp;quot;, &amp;quot;In Process&amp;quot;, and &amp;quot;Closed&amp;quot; as the only values. When the form is first submitted by the user the default value is set to &amp;quot;Open&amp;quot;. When the admin reviews the form and validates it he sets the status to either &amp;quot;In Process&amp;quot; or &amp;quot;Closed&amp;quot;. Here is where the problem begins. &lt;/p&gt;
&lt;p&gt;If the PR status is set to either open or closed I want to have the form, when re-opened, to switch to a Read Only view that I have setup. Here is what I&amp;#39;ve done: &lt;/p&gt;
&lt;p&gt;1 - setup a retrieve data connection to get the PR Status field &lt;/p&gt;
&lt;p&gt;2 - added form open rule to a) retrieve the PR Status field and set a form field called &amp;quot;current_status&amp;quot; to be equal to PR Status. &lt;/p&gt;
&lt;p&gt;3 - a condition is set that if the PR Status is In Process or Closed, display the read only form. &lt;/p&gt;
&lt;p&gt;The problem is that the field always read &amp;quot;In Process&amp;quot; not matter that the SP record is set to &amp;quot;Open&amp;quot; or &amp;quot;Closed&amp;quot;. I am then unable to change to the correct view.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;HELP !!! what am I missing? &lt;/p&gt;</description></item></channel></rss>