<?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: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122448.aspx</link><pubDate>Fri, 14 Feb 2020 20:39:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122448</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122448</wfw:commentRss><description>So there are a few behaviors in InfoPath that I don&amp;#39;t find intuitive - but that we can sometimes leverage to our advantage. This is one - if you don&amp;#39;t specify the row with an index or XPath filter, you get the first value. The second is that if you set a field inside a repeating node from outside (i.e., you have a button at the top of your form not in a repeating section bound to the node) you will set all instances of the node. Glad you are forging ahead!</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122447.aspx</link><pubDate>Fri, 14 Feb 2020 20:19:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122447</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122447</wfw:commentRss><description>Yes our posts did cross. I see that I am able to populate fields from the top repeating row without isolating the row.
It looks like I&amp;#39;m on my way. I learned a lot today.
Thanks,
gran</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122446.aspx</link><pubDate>Fri, 14 Feb 2020 19:32:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122446</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122446</wfw:commentRss><description>Sure, you could. I wouldn&amp;#39;t - but I&amp;#39;m guessing you were posting this as I was posting my reply.</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122445.aspx</link><pubDate>Fri, 14 Feb 2020 19:23:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122445</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122445</wfw:commentRss><description>It looks like I can set a query field, query the DS2 and then set a different query field and query again - further refining the data. So after getting the Site-A records set DS2 query field &amp;quot;ID&amp;quot; to DS2 data field max(ID), getting the latest of the site-A entrees - does that sound right?</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122444.aspx</link><pubDate>Fri, 14 Feb 2020 19:21:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122444</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122444</wfw:commentRss><description>So - the most recent row is the first one. In InfoPath, if we select a field from a repeating data source, it is by default going to return the first value - that&amp;#39;s why I had you sort desc. :-) You can also just index the XPath if need be - select the field using the field picker, in the formula editor tick the box to show the XPath and put [1] after the repeating node.</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122443.aspx</link><pubDate>Fri, 14 Feb 2020 17:59:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122443</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122443</wfw:commentRss><description>OK,I dragged the new connection (to the same [main] list) fields onto the form in a repeating table, with a query field and a query button and all works, sorted by Modified desc.
However it produces duplicate rows for the same site (since multiple exist). How do I get just the MOST RECENT row, from Site-A?</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122442.aspx</link><pubDate>Fri, 14 Feb 2020 16:58:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122442</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122442</wfw:commentRss><description>Yes, if I can populate from the same list, without using a second one, that will be best. In my trial I wasn&amp;#39;t able to get any data with simple rules. I&amp;#39;ll try using the query fields, which I&amp;#39;m just beginning to understand. Where would I set to sort by Modified desc, in the all items view?</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122440.aspx</link><pubDate>Fri, 14 Feb 2020 15:56:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122440</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122440</wfw:commentRss><description>No. You will not be able to update one list from another list form using out of the box InfoPath and SharePoint List functionality. I may have misunderstood your question. I thought you were asking if you could populate the form with the most recent saved values.</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122436.aspx</link><pubDate>Fri, 14 Feb 2020 14:40:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122436</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122436.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122436</wfw:commentRss><description>Thanks Hilary,
I am a bit new to SharePoint, and so a little lost in the lingo here. Currently my main list (siteVisits) has its drop-down list for &amp;#39;site&amp;#39;, and some &amp;#39;siteParamaters&amp;#39; fields populated from a secondary list (siteSpecs), via a secondary data connection. The siteParameter fields values are set by rules when the drop-down control changes.
Would your solution give me a way to update the secondary list from changes in the parameters in the main list?
gran</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122434.aspx</link><pubDate>Thu, 13 Feb 2020 23:02:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122434</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122434.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122434</wfw:commentRss><description>These are different fields? You are using list forms? Just add a data connection to the same list, and set it to not query when the form opens. Sort the data by Modified desc. Then when the user enters a site, set the site query field to the requested site and execute the query. Use rules to set your current fields from the 2DS fields.</description></item><item><title>Re: populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122432.aspx</link><pubDate>Thu, 13 Feb 2020 22:54:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122432</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122432.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122432</wfw:commentRss><description>OK, I&amp;#39;ve got a drop-down list populating from a different list, and rules to set some other fields from that list.
(I am so helpless until I write my problem out in your forum.)
So I guess my engineers will have to set the specs for each site in the secondary list, if they want it to populate their main list.
I wish I had a way to populate (update) the secondary list from entrees in the main list (for instance if one of the spec changes).
Thanks</description></item><item><title>populating a list with outside data</title><link>https://www.infopathdev.com:443/forums/thread/122431.aspx</link><pubDate>Thu, 13 Feb 2020 20:40:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122431</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122431.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122431</wfw:commentRss><description>My infopath list is where engineers enter specs and measurements they take at sites twice a year. In subsequent visits to a site the first 25 fields (the specs) are apt to be exactly the same. They&amp;#39;ve asked about getting those 25 fields populated from the record of the previous visit. If I can get a direction of attack without going down too much of a rabbit hole I might try it.
So far I&amp;#39;ve tried creating a secondary data source to the SAME list, and getting values from a previous record, filtering by the site-date combination which is my title field. I&amp;#39;ve tried doing this to populate field-default value, control-default value and in &amp;#39;set a field&amp;#39;s value&amp;#39; in form load rules.  I go to &amp;#39;formula&amp;#39; - show fields&amp;#39; advanced view - choose the secondary source - choose the field and filter by title = &amp;quot;Site1 2020-02-07&amp;quot; for instance.
So far I have not gotten ANY values to show up. That is a very strong deterrent to any further experimentation.
Is creating a secondary data source to the same list impossible?
Is it more apt to work if I create a second list, with sites and their specs, as the external data source?
Is there a simpler path I should be trying?
Thanks</description></item></channel></rss>