<?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: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105870.aspx</link><pubDate>Fri, 18 Mar 2016 15:08:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105870</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105870</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What is this part:&lt;/p&gt;&lt;p&gt;translate(substring(../d:Review_x0020_Target_x0020_Date, 0, 11), &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;)  0&amp;nbsp;&lt;/p&gt;&lt;p&gt;Should that be =&amp;nbsp;0?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105869.aspx</link><pubDate>Fri, 18 Mar 2016 14:42:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105869</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105869.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105869</wfw:commentRss><description>Hilary - I had only tested the form locally when I posted my last message. I have tried loading to SharePoint and am now getting an error of &amp;quot;Could not verify the form template on the specified server.&amp;quot; and this is making the form not load to SharePoint. The error seems to be related to the code I have written in the button I added which checks if an assessment is taking place for the selected country/year/month vs. the schedule (a repeating table of the combined data from lists 2 and 3). if I remove the button, the form will upload (with some warnings about &amp;quot;filter expression is on external data and cannot be validated&amp;quot; and browser optimizations  about &amp;quot;control sends data to server when value changes&amp;quot;. The code I have in the button is as follows: 

count(xdXDocument:GetDOM(&amp;quot;CED_Reviews&amp;quot;)/dfs:myFields//dfs:dataFields/d:SharePointListItem_RW/descendant-or-self::node()/d:Review_x0020_ID[contains(., current()/d:Test_x0020_ID) and ../d:Country = current()/d:Country and translate(substring(../d:Review_x0020_Target_x0020_Date, 0, 11), &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;) &amp;gt;= translate(xdXDocument:get-DOM()/my:myFields/my:SchedulingSearch/my:SS_Date, &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;) and translate(substring(../d:Review_x0020_Target_x0020_Date, 0, 11), &amp;quot;-&amp;quot;, &amp;quot;&amp;quot;)  0

How can I make it so that this works? Having the code in a calculated field rather than a button was also giving the same issue.</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105843.aspx</link><pubDate>Thu, 17 Mar 2016 16:18:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105843</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105843</wfw:commentRss><description>Great news, glad you have it working - and you got a chance to learn about REST. :)</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105841.aspx</link><pubDate>Thu, 17 Mar 2016 15:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105841</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105841</wfw:commentRss><description>Hilary - I just saw an earlier post from you regarding the &amp;#39;current()&amp;#39; method and this has solved my issue! I want to say a huge thanks for the help you have provided for this!! Problem solved and everything is working as expected now!</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105839.aspx</link><pubDate>Thu, 17 Mar 2016 15:35:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105839</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105839</wfw:commentRss><description>Hi Hilary, unfortunately I cannot post the form here. However, I have managed to get the rows in my repeating table matching up to the &amp;#39;country&amp;#39; component of my assessments list (1) using a filter on the secondary data set of list 1. The challenge I am now having is that when I am filtering against a distinct Assessment ID, it only seems to match against the first in the list from list 1.

For example, list 1 has 2 Assessments which have taken place in Country A, Assessment 1 and Assessment 3. When I then search my new combined list (2 and 3) for Country A, it lists all of the possible Assessments - for example 1, 2 and 3. So what I want the calculated field to show is that it can find a value for Assessments 1 and 3 and show the ID# but a blank for Assessment 2. At the minute, it is only showing me Assessment 1 as a match...as though it is filtering list 1 based on the values for the first entry in the combined list only for each subsequent calculated field.

I appreciate that this is perhaps hard to follow without seeing the form or having a way for me to add tables in this editor...but any help is appreciated!

Thanks</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105834.aspx</link><pubDate>Wed, 16 Mar 2016 21:03:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105834</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105834</wfw:commentRss><description>Well, I think this part you don&amp;#39;t need code for - I think you should be able to just use a calculated value in a table bound to your combined list - can you attach a copy of your form thus far to a reply under the Options tab?</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105833.aspx</link><pubDate>Wed, 16 Mar 2016 20:21:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105833</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105833</wfw:commentRss><description>Hilary - I have done that now for linking countries to assessments (lists 2 and 3) but now I still need a way to see which of the assessments have been completed (in list 1) compared to the combined lists 2 and 3. So my combined list now gives me, &amp;quot;Country_A - Assessment 1&amp;quot;, &amp;quot;Country_A - Assessment 2&amp;quot; etc. so now I need to see if there is a &amp;quot;Country_A - Assessment 1&amp;quot; entry which exists in list 1. What kind of code would be required for this? I can check if it is possible to use it with my installation.

Thanks!</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105829.aspx</link><pubDate>Wed, 16 Mar 2016 17:39:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105829</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105829</wfw:commentRss><description>I&amp;#39;m so sorry - I clearly didn&amp;#39;t read your initial post well enough. The REST option that would let us get data from a related list relies on the list having a lookup so we can use $expand. Which is not what you have going on here! I really can&amp;#39;t think of a non-code solution for what you want to do. Would it be an awful pain to add a Country column to your Assessments list, allow multiple selections, and select all countries for each assessment? Or the reverse - add assessments to countries? Then in your data connection you&amp;#39;d have a nested repeating Value node that you could use for the repeating table....</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105824.aspx</link><pubDate>Wed, 16 Mar 2016 15:56:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105824</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105824</wfw:commentRss><description>The tutorial you provided was great. I have been able to get REST working in InfoPath and outputting values from a single list. What syntax should I be using to join the lists?

I basically need the data from list 2 merged with list 3 so that if I had only 1 country in list 2 (Country A) and two assessments in list 3 (Assessments 1 and 2), the result would give me two records = &amp;quot;Country - A Assessment 1&amp;quot; and &amp;quot;Country A - Assessment 2&amp;quot;. 

From that step I then need to join that result with list 1 to show if there is an entry for the two records created from the join.</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105806.aspx</link><pubDate>Tue, 15 Mar 2016 18:35:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105806</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105806.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105806</wfw:commentRss><description>&lt;p&gt;Maybe you could start with &lt;a href="http://johnliu.net/blog/2012/4/26/infopath-2010-query-using-the-rest-interface.html"&gt;this&lt;/a&gt; tutorial, and then once you have an idea of how REST in general works I could help you with the syntax?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105805.aspx</link><pubDate>Tue, 15 Mar 2016 14:24:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105805</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105805</wfw:commentRss><description>Hi Hilary, thanks for the suggestion. I am unfamiliar with REST - is it almost like creating an SQL query which can link multiple lists into the same data set?

How exactly does it work? As I mentioned above I am pretty new to InfoPath and the more complex functions of SharePoint so I need a little coaxing with this stuff.

Thanks for the help in advance!</description></item><item><title>Re: Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105799.aspx</link><pubDate>Mon, 14 Mar 2016 19:38:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105799</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105799</wfw:commentRss><description>I wonder if you could use REST to join the lists - https://scottcurrier.wordpress.com/2010/01/02/rest-and-sharepoint-2010-quick-start-guide-multiple-columns-expand-and-filter-almost-a-join/</description></item><item><title>Using Data from Multiple Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/105794.aspx</link><pubDate>Mon, 14 Mar 2016 16:20:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105794</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105794.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=105794</wfw:commentRss><description>Hi, 

I am pretty new to InfoPath and have been working on a new project which tracks assessments. I have 3 SharePoint lists:

1. Assessment - this is where all the data is written to from my InfoPath form (actually a form library). It contains the &amp;#39;Assessment ID&amp;#39; (from list &amp;#39;3&amp;#39;), the &amp;#39;Country&amp;#39; (from list &amp;#39;2&amp;#39;) and a completion date.
2. Country - this is a list which contains countries and their corresponding regions etc.
3. Assessment Type - this is a list which contains all of the assessments which are supposed to be carried out every month

Essentially what I am trying to achieve is to create a grid by which the user can search a given month / country and it will display all of the possible assessments (from list &amp;#39;3&amp;#39;) and then show which ones have been completed (from list &amp;#39;1&amp;#39;) and which have not by checking against the assessment list (list &amp;#39;1&amp;#39;). The issue I am having is that I can&amp;#39;t seem to find any way in which to join the two secondary data connections I have (lists &amp;#39;2&amp;#39; and &amp;#39;3&amp;#39;) and the primary one (list &amp;#39;1&amp;#39;) and display them in the same table.

I am looking for it to look something like this:

Search Date (Month / Year): March 2016
Search Country: All

          ---Results Table---

Country|Assessment ID|          Date
     A     |        1            | March 1st 2016
     A     |        2            | Incomplete
     A     |        3            | March 2nd  2016
     B     |        1            | Incomplete
     B     |        2            | Incomplete
     B     |        3            | March 10th 2016

Does anyone know how this can be achieved? I do not have SharePoint Designer (company has it locked down) and can&amp;#39;t add custom code (again locked by company) - so am limited to what InfoPath and SharePoint can do as standard...

Thanks!</description></item></channel></rss>