<?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: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116988.aspx</link><pubDate>Thu, 10 Aug 2017 18:58:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116988</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116988</wfw:commentRss><description>I have a solution that works with many fields we had just hoped that we could use a list to make it more easily updatable for our non tech professionals but this will be a solution until we find another I suppose. Hilary I can not thank you enough for all the help that you have given me! Thank you so much for making your knowledge available!</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116987.aspx</link><pubDate>Thu, 10 Aug 2017 18:41:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116987</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116987</wfw:commentRss><description>Fiddler came back with the not so helpful &amp;quot;Server was unable to process request. ---&amp;gt; Object reference not set to an instance of an object.&amp;quot;. Do you have an earlier copy of the form that still will publish as browser enabled? You may want to compare that with your latest. I continue to think that you may have to just use default data in the form instead of a list, and even that may be problematic with 150 items.</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116986.aspx</link><pubDate>Thu, 10 Aug 2017 18:03:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116986</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116986</wfw:commentRss><description>Thank you I would appreciate it!</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116966.aspx</link><pubDate>Wed, 09 Aug 2017 15:13:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116966</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116966</wfw:commentRss><description>I just realized you are publishing to Office 365 - so that takes REST out of the equation. I&amp;#39;ll try to publish to my O365 site while running Fiddler to see if I can see why you are getting an error, but you may just not be able to do this leveraging a list. You may just have to use default data after all.</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116964.aspx</link><pubDate>Wed, 09 Aug 2017 12:12:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116964</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116964.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116964</wfw:commentRss><description>I am getting an error now that will not allow me to use the form without infopath filler.</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116951.aspx</link><pubDate>Tue, 08 Aug 2017 19:48:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116951</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116951</wfw:commentRss><description>I&amp;#39;m surprised by the infinite loop error - because if we are just setting ID by default then it sets its own items, I don&amp;#39;t think we&amp;#39;d get a looping error. As to the initial error - that isn&amp;#39;t one I&amp;#39;ve run into before. You may be able to switch to a REST connection to just retrieve the selected department, and add a second REST connection to return the &amp;quot;default&amp;quot; items.</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116948.aspx</link><pubDate>Tue, 08 Aug 2017 12:40:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116948</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116948</wfw:commentRss><description>Please anyone feel free to give any advice about either of my errors or about my current form thanks! :)</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116931.aspx</link><pubDate>Mon, 07 Aug 2017 14:21:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116931</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116931</wfw:commentRss><description>&lt;p&gt;Thank you for this form Hilary and sorry for the delayed response. I have been out of the office for a while but I do not have the best news to report. Okay so I think this was a good step in the right direction for this form the departments are now being queried based on the list of values that are pull from my secondary source SP list, but more problems seem to keep appearing as time goes on... &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am getting the error &amp;quot;&lt;strong&gt;The form could not be displayed because default values or rules are taking too long to evaluate. To correct this, simplify the expressions or reduce the size of the data sets that they depend on.&lt;/strong&gt;&amp;quot; when I open the form after publishing. The number of items in the list are around 150 in total. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also get an error when selecting the largest department query that the form needs (selecting 80 entries at a time). The error that I get when doing this in preview mode is:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;quot;&lt;strong&gt;An error occurred in the form&amp;#39;s rules or code. The number of rule actions or the number of calls to the OnAfterChange event for a single update in the data exceeded the maximum limit.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The rules or code may be causing an infinite loop. To prevent this, ensure that the rule action or event handler does not update the data which causes the same rule action or event handler to execute&lt;/strong&gt;.&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;strong&gt;Questions&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Is this too much for SharePoint to handle with a query? &lt;/p&gt;&lt;p&gt;Could it be a possible logic error with the setting of values using the ID? &lt;/p&gt;&lt;p&gt;Also each department can have any amount of different items being queried at a time is this a problem?&lt;/p&gt;&lt;p&gt;Any help&amp;nbsp;that can be passed along would be greatly appreciated!&amp;nbsp;:)&lt;/p&gt;</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116892.aspx</link><pubDate>Wed, 02 Aug 2017 22:21:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116892</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116892</wfw:commentRss><description>Well. Let&amp;#39;s see if this works? I modified the default on the ID field to (hopefully) only include items that match on department OR have Default for department... Again, working totally blind here, so this could be all kinds of wrong. :)</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116884.aspx</link><pubDate>Wed, 02 Aug 2017 15:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116884</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116884</wfw:commentRss><description>I just realized we can&amp;#39;t use Department as a query field because it is repeating. I have an idea for how to make this work tho ... I&amp;#39;ll post later w/ another copy of your form. I think what I need to do is change the default for ID to only include items that either match on department or have the value of default as a department. Then you only have data that should be displayed in the form copied into the main DS. :)</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116882.aspx</link><pubDate>Wed, 02 Aug 2017 13:18:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116882</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116882</wfw:commentRss><description>Does that mean I need to create another list with only the default options or just another data connection possibly with a filter of some kind?</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116878.aspx</link><pubDate>Tue, 01 Aug 2017 21:12:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116878</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116878</wfw:commentRss><description>I would query for only the list items that matched on department, then have a second connection that only returned items where the department = default.... I think that might work. I&amp;#39;ll try to modify the form I sent to take care of the first part of that, but it will be tomorrow afternoon before I have time. :)</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116876.aspx</link><pubDate>Tue, 01 Aug 2017 19:52:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116876</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116876.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116876</wfw:commentRss><description>I am sorry but I am still confused. I am not sure how to get the departments from the secondary data source. I would need to have the information as a repeating data field and I am a novice to this. But to answer your question about list items, there are about 140 in the list.</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116873.aspx</link><pubDate>Tue, 01 Aug 2017 19:09:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116873</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116873</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yeah, you may need to just add the department field to the same place in the main data source - but how may items are in your SharePoint list? A lot? In which case it may be better to just query for the specific department to populate the order section, then have the same fields in another group (called options or something) and use another connection to the same list to just get back the default items....&lt;/p&gt;</description></item><item><title>Re: Field reset after submit</title><link>https://www.infopathdev.com:443/forums/thread/116863.aspx</link><pubDate>Tue, 01 Aug 2017 12:41:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116863</guid><dc:creator>lwenzel90</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=116863</wfw:commentRss><description>Thank you for the fast response! The desired outcome is to have each food item check a repeating field of departments associated with it and then compare that to the main department field on the form. If the fields match it will show an item if not it will hide it. The department field also can hold multiple values per department, as to say the departments at my work place have overlapping items and over 20 departments are unique with the options they have. There are also a group of items that are used in every department that I have given the value of &amp;quot;Default&amp;quot;. The picture below shows the information as presented in the sharepoint list. I am not sure if the optional field you created will be able to what is required of this form. Is there a way to set a repeating fields data from the secondary data source similar to what you did with fields such as item, price, quantity, etc? I think it is necessary to have the department values for each item in the form.</description></item></channel></rss>