<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/100751.aspx</link><pubDate>Tue, 13 Jan 2015 12:01:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100751</guid><dc:creator>Vashista</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=100751</wfw:commentRss><description>&lt;p&gt;After a lot of web research, i found your answer, and it is very helpful, I do have same type of rewuirement.&lt;br /&gt;My list is having calculated fields with very complex formulas, I designed the infopath form by which user enter values in the fields and on based of these values, value is calculated in calculated columns.&lt;/p&gt;&lt;p&gt;I created a view for newItem form and another view for display calculated values. followed the same steps you mentioned but unfortunate no success.&lt;/p&gt;&lt;p&gt;Could you please elaborate more?&lt;/p&gt;</description></item><item><title>Re: Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/98734.aspx</link><pubDate>Tue, 19 Aug 2014 15:00:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98734</guid><dc:creator>JasonJJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=98734</wfw:commentRss><description>&lt;p&gt;I was finally able to get the issue resolved using a different technique than donstephen described above.&amp;nbsp; I did not attempt those, but after reviewing them they may have worked as well.&amp;nbsp; Below is what I did to query SharePoint calculated field values into my form by using the main data connection.&lt;/p&gt;&lt;p&gt;What&amp;nbsp;I did was to&amp;nbsp;create a rule with the first action being to &amp;quot;Submit the data&amp;quot; and then add another action to set a unique ID field in the queryFields so that in the next action&amp;nbsp;of the rule when I queried the connection it only returned a value based on what I set in my queryFields.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You must submit your data first, but then in knowing the ID of the record was definitely unique, you then set your queryfields &amp;quot;ID&amp;quot; field = the ID field from the dataFields. &amp;nbsp;Once you&amp;#39;ve done that, just add a query to your data connection and voila, any SharePoint calculated column field values which would&lt;br /&gt;have been calculated during your initial &amp;quot;submit&amp;quot; action will be pulled back into your form.&lt;/p&gt;</description></item><item><title>Re: Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/98732.aspx</link><pubDate>Tue, 19 Aug 2014 09:42:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98732</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=98732</wfw:commentRss><description>&lt;p&gt;Hi Jason,&lt;br /&gt;&lt;br /&gt;Thank you for the clarification. Yes, I would agree that re-creating the formulas on the fields would be tedious work. Since IDs are generated after, what I would I suggest at this point is generating your own unique ID on a hidden field. Something like &lt;strong&gt;concat(userName(), translate(now(), &amp;quot;T:-&amp;quot;, &amp;quot;&amp;quot;)). &lt;/strong&gt;This way, you can filter your query to only return the current data using this value. Here is a webinar we have which discusses Secondary Data Connections and Filters:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=VQlWiCdbKBg"&gt;https://www.youtube.com/watch?v=VQlWiCdbKBg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If this doesn&amp;#39;t work, you could also try using REST data query:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/office/fp142385(v=office.15).aspx"&gt;http://msdn.microsoft.com/en-us/library/office/fp142385(v=office.15).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/98726.aspx</link><pubDate>Mon, 18 Aug 2014 15:35:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98726</guid><dc:creator>JasonJJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=98726</wfw:commentRss><description>&lt;p&gt;I can display the resulting values from my SharePoint calculated columns successfully, but &lt;strong&gt;only&lt;/strong&gt; if I close the form out and then manually reopen it.&amp;nbsp;&amp;nbsp;I can NOT create a data connection which includes SharePoint Calculated columns.&amp;nbsp; The only data connection which includes these fields is the Main Data Connection.&amp;nbsp; The issue is&amp;nbsp;I need to submit the data and then query it again in order to capture the values SharePoint calculated with the submit and display in my form without closing it and I have not found a successful method to accomplish this.&amp;nbsp; When you query the Main Data connection it pulls in the entire data set for the particular SharePoint list and then gets confused and displays the values in the form from the very first record from that SharePoint list and not the data from my current record.&lt;/p&gt;&lt;p&gt;As per your suggestion, the logic is extremely complex for the SharePoint calculated fields which I don&amp;#39;t believe can be replicated in an Infopath calculated column.&amp;nbsp; This was my reasoning for choosing to use SharePoint calculated columns rather than attempt to use&amp;nbsp;Infopath to calculate&amp;nbsp;values.&amp;nbsp; Below is an example of just one of the SharePoint calculated columns.&lt;/p&gt;&lt;table style="width:498pt;border-collapse:collapse;" cellspacing="0" cellpadding="0"&gt;
 
 &lt;tr style="height:90pt;"&gt;

  &lt;td style="border-width:0.5pt 0px;border-style:solid none;width:498pt;height:90pt;color:black;font-family:Calibri;font-size:10pt;font-weight:400;text-decoration:none;text-underline-style:none;text-line-through:none;mso-pattern:#E4DFEC none;" class="xl130"&gt;IF(AND([bp_bid_tier_Complex_score]=0,
  [bp_bid_tier_NS_score]=0), &amp;quot;Standard&amp;quot;, IF([bp_bid_tier_NS_score]=
  MAX([bp_bid_tier_Complex_score], [bp_bid_tier_NS_score]),
  IF(AND([bp_bid_tier_NS_score]=1,
  [bp_project_management]=&amp;quot;1.00000000000000&amp;quot;), &amp;quot;Standard - see
  comment&amp;quot;,
  &amp;quot;Non-Standard&amp;quot;),&amp;quot;&amp;quot;))&amp;amp;IF([bp_bid_tier_Complex_score]&amp;gt;[bp_bid_tier_NS_score],IF(OR(AND([bp_bid_tier_Complex_score]=2,
  [bp_policy_deviation]=&amp;quot;1.00000000000000&amp;quot;), AND([bp_bid_tier_Complex_score]=3,
  [bp_policy_deviation]=&amp;quot;1.00000000000000&amp;quot;,
  [bp_project_management]=&amp;quot;1.00000000000000&amp;quot;)), &amp;quot;Non-Standard -
  see comments&amp;quot;, &amp;quot;Complex&amp;quot;), &amp;quot;&amp;quot;)&lt;/td&gt;

 &lt;/tr&gt;
&lt;/table&gt;</description></item><item><title>Re: Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/98717.aspx</link><pubDate>Mon, 18 Aug 2014 08:54:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98717</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98717.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=98717</wfw:commentRss><description>&lt;p&gt;Hi Jason,&lt;br /&gt;&lt;br /&gt;Without querying your Main Data Connection, a workaround you could use is setting the calculated boxes&amp;#39; values to the same formula logic used in SharePoint. This way, you wouldn&amp;#39;t need to query SharePoint anymore. Otherwise, you&amp;#39;d have to query SharePoint without closing and opening the form. May I know what&amp;#39;s hindering you from enforcing specific values to the current form?&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>Needing Infopath form to refresh in order to view SharePoint calculated column results</title><link>https://www.infopathdev.com:443/forums/thread/98668.aspx</link><pubDate>Wed, 13 Aug 2014 21:34:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98668</guid><dc:creator>JasonJJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98668.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=98668</wfw:commentRss><description>&lt;p&gt;I have a complex tool developed in SharePoint and Infopath which requires users to answer a series of questions.&amp;nbsp; The responses to these questions are then used to come up with a status field and various other SharePoint calculated fields.&amp;nbsp; Due to the extremely complex nature of the conditions involved with setting the status field, it was determined that the field would be a Calculated Column in SharePoint.&amp;nbsp; I actually have 27&amp;nbsp;SharePoint calculated columns in my list which all are based on the users responses.&amp;nbsp; My process&amp;nbsp;flow has the users respond to the questions,&amp;nbsp;then click a button which switch&amp;#39;s views to a &amp;quot;dashboard&amp;quot;.&amp;nbsp; My issue is this dashboard and another view displays most&amp;nbsp;of&amp;nbsp;the SharePoint calculated columns and when I switch to either of these views the dashboard is blank.&amp;nbsp;&amp;nbsp;Of course if I close the form and reopen it those views are populated with the current values SharePoint calculated.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I attempted to add a rule to query the Main Data connection, but&amp;nbsp;there is no way for me to explicitly force that&amp;nbsp;to only query the data for my current item.&amp;nbsp;&amp;nbsp;It&amp;nbsp;displays&amp;nbsp;data from&amp;nbsp;another list item when this was attempted.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Is there anyway for me to query these calculated values&amp;nbsp;without closing and opening the form?&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item></channel></rss>