<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88246.aspx</link><pubDate>Wed, 20 Mar 2013 21:15:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88246</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88246</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hey, perfect, glad you have it working the way you want!&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88245.aspx</link><pubDate>Wed, 20 Mar 2013 20:46:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88245</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88245</wfw:commentRss><description>&lt;p&gt;I figured it out by combining Ernosto&amp;#39;s and Hillary solution. Below is what I did.&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;I created a new SharePoint list called Teams and associated each user to a team&lt;/li&gt;&lt;li&gt;I added the list Teams as a seconary data source to the form&lt;/li&gt;&lt;li&gt;I added a new field called myTeam to the main datasource that with a default value from the Teams datasource with a filter set where team = to userName()&lt;/li&gt;&lt;li&gt;Then I created a rule on form load and before I get the data for the repeating table I apply the team filter by setting the team value = to myTeam&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Thank you both for your help. &lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88243.aspx</link><pubDate>Wed, 20 Mar 2013 19:40:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88243</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88243</wfw:commentRss><description>&lt;p&gt;Forgive me for barging in.&lt;/p&gt;&lt;p&gt;If you create a list that associates users to teams, you should be able to do this.&lt;/p&gt;&lt;p&gt;Add a data connection to your new list (with user and teams). The condition on the repeating table would be something along the lines of:&lt;/p&gt;&lt;p&gt;If Team is not equal to Team (from SharePoint List) where User (from SharePoint List) is equal to userName() (InfoPath function), hide this row.&lt;/p&gt;&lt;p&gt;I&amp;#39;m attaching a simple sample that just uses values in the form / default values for this. Save it locally, right click and select design to open in design mode. From there you can preview. Set any of the fields in the first column of the top table to your user name - rows in the second table should show / hide accordingly&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88241.aspx</link><pubDate>Wed, 20 Mar 2013 19:15:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88241</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88241</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m confused, because the original table shows a relationship between Items and Teams, not Users and Teams.&lt;/p&gt;&lt;p&gt;Where do you store the relationship that tells us which Users belong to which Teams?&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88239.aspx</link><pubDate>Wed, 20 Mar 2013 18:47:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88239</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88239</wfw:commentRss><description>&lt;p&gt;Back to my original question. Is possible to filter information in a repeating table for a person based on their association to a team and if so any suggestions on how to accomplish this?&lt;br /&gt;&lt;/p&gt;I would prefer that the relationship between the user and the team stored in SharePoint. &lt;br /&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88237.aspx</link><pubDate>Wed, 20 Mar 2013 18:29:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88237</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88237</wfw:commentRss><description>&lt;p&gt;Oh I see. &lt;/p&gt;&lt;p&gt;I honestly don&amp;#39;t know. Where do you store the relationship between People and Teams? SQL? On a ShP List? In Active Directory?&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88236.aspx</link><pubDate>Wed, 20 Mar 2013 18:20:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88236</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88236</wfw:commentRss><description>&lt;p&gt;I am doing that already for the user. Sorry I am getting my terminology mixed up. What do I set the &lt;strike&gt;default&lt;/strike&gt; value of /dfs:myFields/dfs:queryFields/q:SharePointListItem_RW/q:Team to? I know how to set the value I just can&amp;#39;t seem to figure out how to get the team for the user opening the form to use as the value for the filter.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88235.aspx</link><pubDate>Wed, 20 Mar 2013 18:09:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88235</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88235</wfw:commentRss><description>&lt;p&gt;You can&amp;#39;t set a default value on /dfs:myFields/dfs:queryFields/q:SharePointListItem_RW/q:Team .&lt;/p&gt;&lt;p&gt;You can set the value of that field via a rule, then&amp;nbsp;query the data connection.&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88234.aspx</link><pubDate>Wed, 20 Mar 2013 18:03:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88234</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88234</wfw:commentRss><description>&lt;p&gt;That is what I was doing when filtering the repeating table for one user because I get get the current username of the person opening the form and use it as the filter. How can I assign the default value of the user&amp;#39;s team to use that as the filter? I guess what I&amp;#39;m trying to figure out is what do I set the default value of set the value of /dfs:myFields/dfs:queryFields/q:SharePointListItem_RW/q:Team to?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88233.aspx</link><pubDate>Wed, 20 Mar 2013 17:38:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88233</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88233</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Before calling the Get Staff data connection (which happens on load right now), you can set the value of the filter you need. So in SPGetStaff, set the value of /dfs:myFields/dfs:queryFields/q:SharePointListItem_RW/q:Team and then query the data connection. You&amp;#39;ll get only the filtered values.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88227.aspx</link><pubDate>Wed, 20 Mar 2013 16:29:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88227</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88227</wfw:commentRss><description>The data in the repeating table is coming from a secondary data source (which is a SharePoint List). The form is an InfoPath form and the current filter is being applied to the data connection itself when the form loads. I’ve attached a copy of the form for you to look at.&lt;br /&gt;</description></item><item><title>Re: Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88221.aspx</link><pubDate>Wed, 20 Mar 2013 15:56:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88221</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88221</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;Can you provide more information? I&amp;#39;m not sure whether there&amp;#39;s a qRules command to help in this scenario but we can dig deeper to find out.&lt;/p&gt;&lt;p&gt;Where is the data coming from? (Is is in the main data source, or is it coming from a secondary data source)&lt;/p&gt;&lt;p&gt;Is this a browser form? Is the filtering (that you&amp;#39;ve already created)&amp;nbsp;happening on the data connection itself, or in the view (perhaps via conditional formatting)?&lt;/p&gt;&lt;p&gt;If you&amp;#39;d like, you could also attach a form via the Options tab when replying. Thanks.&lt;/p&gt;</description></item><item><title>Filtering on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/88219.aspx</link><pubDate>Wed, 20 Mar 2013 15:45:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88219</guid><dc:creator>ps1138</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=88219</wfw:commentRss><description>I was able to create a filter on a repeating table which only shows items when they are assigned to the current user of the form by setting a filter using the username() function. &lt;br /&gt;On another form I have a requirement to allow multiple people to view and update the items in a repeating table that are assigned to a team of people rather than just an individual (see example below)&lt;br /&gt;&lt;br /&gt;Unfiltered Repeating Table&lt;br /&gt;Item 1 Team A&lt;br /&gt;Item 2 Team A&lt;br /&gt;Item 3 Team B&lt;br /&gt;Item 4 Team C&lt;br /&gt;Item 5 Team A&lt;br /&gt;&lt;br /&gt;Desired Result (as viewed by any member of Team A)&lt;br /&gt;Item 1 Team A&lt;br /&gt;Item 2 Team A&lt;br /&gt;Item 5 Team A&lt;br /&gt;&lt;br /&gt;Is possible to do this type of filtering and if so does anybody have any suggestions on how to accomplish this?&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>