<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124121.aspx</link><pubDate>Mon, 03 May 2021 15:06:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124121</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124121.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124121</wfw:commentRss><description>Is Pergunta PTBR unique per row? I just realized I changed your existing rows without really paying attention - generally, I set a main data source to the list row&amp;#39;s ID field (the actual SharePoint Internal List ID) and then use that to filter for the rest of the rows where I&amp;#39;m setting the value. Here&amp;#39;s a copy of your form where I&amp;#39;ve set a few more values (picked at random) - I&amp;#39;ve added a field to the main data source specifically for the SharePoint List ID and set that first, then for the rest of the fields, you can pick them from the secondary data source and just paste this filter in after: [../d:ID = current()/../my:ListID]</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124117.aspx</link><pubDate>Mon, 03 May 2021 11:52:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124117</guid><dc:creator>Fernando Pikler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124117</wfw:commentRss><description>Hi Hilary  

Thank you! worked like a charm  

But i&amp;#39;m confused now in how I would copy the remaining fields to my repeating table... I tried to mimic the rule applied to the field2 but I had no success.  

Like i&amp;#39;ve tried to put the &amp;quot;PP/NPP&amp;quot; field in my field5 

Which path I would have to follow to bring the other fields to my repeating table in the main connection?   


Thanks!</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124115.aspx</link><pubDate>Fri, 30 Apr 2021 22:37:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124115</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124115</wfw:commentRss><description>Try this copy. Save the file locally, right click and select design. Then you can preview. The XPath for setting the ID (field2) was incorrect - if you check the &amp;quot;edit xpath&amp;quot; box in the formula editor you should be able to see the difference between this one and your original. Then the rule to set field3 was matching the list ID to the &amp;quot;set&amp;quot; field (which was gonna be 1) instead of to field 2 (where we want the ID to be).</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124114.aspx</link><pubDate>Fri, 30 Apr 2021 22:12:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124114</guid><dc:creator>Fernando Pikler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124114</wfw:commentRss><description>ow wow, I actually did attached the wrong one... you know, a whole week programming mess up our brains I guess.. haha sorry for that, attached you can see the right one</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124113.aspx</link><pubDate>Fri, 30 Apr 2021 22:05:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124113</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124113</wfw:commentRss><description>So - I&amp;#39;m wondering if you maybe attached a different form template? In the one you attached, there is nothing in group2 - I&amp;#39;d expect a repeating group and some fields?</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124112.aspx</link><pubDate>Fri, 30 Apr 2021 21:54:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124112</guid><dc:creator>Fernando Pikler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124112</wfw:commentRss><description>Path to my secondary connection:

/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID_x0020_Pergunta    (this is the path to my first field which is the primary key of my table and i&amp;#39;ll use to lookup every other field)

/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Pergunta_x0020__x0028_PTBR_x0029   (this is the path to the second data field which i was trying to use as a test, the x0020 and so on are just ASCII resposes to characters which only exists in my native language)

/my:myFields/my:group1/my:group2 -&amp;gt; this is the path for the repeating table in my main connection, containing numeric fields starting with field 2 thru field 6

xdXDocument:GetDOM(&amp;quot;STD_OPR_GPS&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID_x0020_Pergunta  -&amp;gt; this is what that first field that I mentionet above looks like when I insert it into an formula and check the box (show xPath), STD_OPR_GPS is the name of my sharepoint list

Thanks for the assistance so far!</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124111.aspx</link><pubDate>Fri, 30 Apr 2021 14:44:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124111</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124111</wfw:commentRss><description>Hi - can you tell me where to find the main data source table you are trying to copy to? Right click the field in the field task pane in InfoPath designer and just paste in the XPath. And also, if you could tell me which data source you are trying to copy, and if you already have some rules in place, where to look for those. Most likely the issues you are having are related to the XPaths being different between the two forms.</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/124109.aspx</link><pubDate>Fri, 30 Apr 2021 12:09:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124109</guid><dc:creator>Fernando Pikler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=124109</wfw:commentRss><description>Hi Hillary,

I&amp;#39;m sorry getting back to an old post, it&amp;#39;s just that my issue is closely related to the content here and I didnt&amp;#39;t want to create another post just for that.

I have a form in which I gather data from sharepoint. the list has 28 entries. I want to do the same as OP did, having all 28 entries from my secondary data source copied to my main data source repeating table. I opened the example you posted here and i&amp;#39;m having trouble with 2 things.

First, what does the &amp;quot;@&amp;quot; stand for? on some formulas, I noticed that there is an @ before the variable, i&amp;#39;m having a hard time reproducing this in my form

Second, On the second formula on &amp;quot;set&amp;quot; variable (@name[@abbreviation = current()/../field1]) when trying to reproduce this in my form, I get a &amp;quot;/../field1 is not a valid path&amp;quot;. For the record, my field is called field1 too and every path in the main data connection have the exactly same path as your example file. The problem is, when I isolate this formula in another field &amp;quot;current()/../field1&amp;quot; it does not point to a problem. It works. It only tells me that the path doesn&amp;#39;t exists when I try to add it to the filter inside my secondary data connection in the formula.

I&amp;#39;m attaching the form so you might give a look at it.

Just FYI, my intention is to bring in the repeating table ALL fields that are on the secondary data source query. The reason why i&amp;#39;m using the sharepoint as source is because this process changes a lot, and I need to bind it to a system where managers can just change the fields whenever they want without having to go inside the .xml file and changing its schema.

 ty</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117534.aspx</link><pubDate>Fri, 27 Oct 2017 14:39:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117534</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117534</wfw:commentRss><description>Wonderful - I like to be able to see what I&amp;#39;m working with, so I make a real mess of my forms during design, making sure I can see all the data. Then when everything is working correctly, I clean stuff up. :)</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117531.aspx</link><pubDate>Fri, 27 Oct 2017 10:18:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117531</guid><dc:creator>Shina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117531</wfw:commentRss><description>Thank you Hilary. Like you suggested, I dragged the repeating table to the Form and found that my Query worked fine. The issue was with my rules to set the field values. Fixed it now. :)</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117523.aspx</link><pubDate>Wed, 25 Oct 2017 21:00:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117523</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117523</wfw:commentRss><description>So - drag your secondary data source onto the form where you can see it, both query and data fields - add a button that executes the query. When you query for a specific form ID, do you get back all the rows you expect? Because I&amp;#39;d expect that to work.... I&amp;#39;m not sure if you are saying the data connection doesn&amp;#39;t return all the rows, or the rules to set the field values in the main data source is setting them all to the first value. :)</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117522.aspx</link><pubDate>Wed, 25 Oct 2017 20:23:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117522</guid><dc:creator>Shina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117522.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117522</wfw:commentRss><description>Thanks for the help. The default nodes is beautiful, I added about 50 default nodes and set up the rules, it populates my Repeating table perfectly with all items from the list(secondary data source)
Now using a formID on the form that matches a formID in the data source, I tried to limit the number of items returned with a &amp;#39;Query for data&amp;#39; step  but it only returns results for the first item.
Setting filter conditions on the repeating table would not work here because i expect that the number items in my secondary data source would increase quickly above the default nodes planned for. Any pointers as to how this can be achieved?</description></item><item><title>Re: Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117521.aspx</link><pubDate>Wed, 25 Oct 2017 18:22:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117521</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117521</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So, sounds like you are already using CAML to submit. If you want to copy repeating data without code, I usually use default data for that - add a bunch of nodes by default then use rules or defaults to populate them. I&amp;#39;m attaching a sample form that does this - save it locally, right click and select design to open in design mode &amp;amp; then you can preview.&lt;/p&gt;</description></item><item><title>Auto-populate repeating table with rows from a custom list</title><link>https://www.infopathdev.com:443/forums/thread/117500.aspx</link><pubDate>Sun, 22 Oct 2017 21:23:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117500</guid><dc:creator>Shina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=117500</wfw:commentRss><description>Hi Guys,

First, thanks for the information you put on here, it&amp;#39;s saved my job countless times. :-)

I need help on how to populate a Repeating table with rows from a Custom list. Then allow users to make changes to a column in the repeating table and have the list is updated. Preferably no-code solutions as I have an hybrid SharePoint Implementation here.

Here&amp;#39;s a background info. I am developing a Performance Management Solution for my firm. On a high level,  &lt;br /&gt;
1. Every staff fills out a form to set Goals at the beginning of the year   &lt;br /&gt; 
2. At mid-year there is a KPI Review. The staff updates each KPI Target line item in the repeating table with achievements so far. And in another section, the KPIs are revised because targets would have changed since year started.  &lt;br /&gt;  
3. At year-end Review, KPI targets are updated with achievement, supervisor grades staff and appraisals happen. &lt;br /&gt; 

The twist comes at Mid-Year Review because the initial KPI items approved have to be updated with achievements, the KPIs also have to be revised: Add, Update or Delete. So 2 repeating tables and a custom list (InitialKPIList) are needed at least. &lt;br /&gt; 
On the initial view (goal setting) I sent rows from Repeating table A into the Custom list (using a batch xml and list web service). All items in the list from the same form instance will have the same value in a FormNo field. &lt;br /&gt;  So on Mid-Year View i&amp;#39;m hoping to use the FormNo field to filter the Secondary data source before populating the repeating table B. So repeating table B will be used for Mid year Review, while Repeating Table can be revised and used for the remaining stages of the process. &lt;br /&gt; 
&lt;br /&gt;
Thanks.</description></item></channel></rss>