<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117091.aspx</link><pubDate>Thu, 24 Aug 2017 23:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117091</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117091</wfw:commentRss><description>That was one of the hardest parts for me - learning the right order of operation for rules &amp;amp; learning XPath filtering. What really helped me was dragging all the fields for data sources onto the form (you can clean up the form before you publish) and adding buttons to query the data connections. Then I could experiment with setting different values, running queries, and seeing precisely what data is returned. :)</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117090.aspx</link><pubDate>Thu, 24 Aug 2017 23:15:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117090</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117090.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117090</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m learning!!!&lt;/p&gt;&lt;p&gt;Thanks you for explaining.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117089.aspx</link><pubDate>Thu, 24 Aug 2017 23:07:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117089</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117089</wfw:commentRss><description>So - yes, I added that, and I also modified the formula for setting the Manager field - you were setting it using the Get Manager query, when I think you already had that data from the user profile query. For setting query fields, we always set them BEFORE we execute the query, because they impact what data is returned. We are saying: &amp;quot;SharePoint - Fetch me the manager data for this specific user!&amp;quot; by setting the account name query field then executing the query. If we set the query field after we execute the query, SharePoint (or whatever the data source is) has no idea what we want.... :)</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117088.aspx</link><pubDate>Thu, 24 Aug 2017 22:26:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117088</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117088</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;That was it. No more error. Thank you so much. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Calibri" size="3"&gt;It looks like you added a rule to set field value “AccountName”
with a value “=Manager” before the query. Was that the only issue? I put in a
rule to do that but I put it below the query.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;I still have to add the rules to clear those fields when
Employee Name field blank.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;Thanks again for your help.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;
&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117087.aspx</link><pubDate>Thu, 24 Aug 2017 21:31:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117087</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117087</wfw:commentRss><description>Ah - I hadn&amp;#39;t looked very closely &amp;amp; didn&amp;#39;t realize you were running additional rules on the Manager field. Try this copy. Save it locally, right click &amp;amp; select Design to open in Design mode.</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117084.aspx</link><pubDate>Thu, 24 Aug 2017 19:39:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117084</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117084</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;I tried what you suggested but I got something messed up and
not sure how it worked originally. The Manager field pulls in the managers acc#
but I can’t seem to get the manager PreferredName in the Manager Name field. It
fills with the person selected in the picker PreferredName. I’m not sure how to
get it to pull the managers PreferredName. Attached is the template.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks for your help.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117081.aspx</link><pubDate>Thu, 24 Aug 2017 17:11:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117081</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117081.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117081</wfw:commentRss><description>So - looking at this, a couple things I would try right off - for your rules on EmployeeName, only run those if EmployeeName is not blank. Then, instead of using defaults for Manager / Manager Name, set the fields via rules on the EmployeeName field after you run the query.... Does that make sense? You could also add rules to EmployeeName to clear those fields (Manager / Manager Name) if EmployeeName is blank.</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117080.aspx</link><pubDate>Thu, 24 Aug 2017 16:20:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117080</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117080</wfw:commentRss><description>Thanks, I&amp;#39;ll take a look later today or tomorrow AM and see if I can figure out what&amp;#39;s up (or a work around!)</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117079.aspx</link><pubDate>Thu, 24 Aug 2017 15:30:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117079</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117079.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117079</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;
&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;Sure, example attached.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks,&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117077.aspx</link><pubDate>Thu, 24 Aug 2017 15:06:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117077</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117077.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117077</wfw:commentRss><description>Any chance I could see your template? That would help me set up a repro.... You can attach it under the Options tab in a reply.</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117074.aspx</link><pubDate>Thu, 24 Aug 2017 14:28:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117074</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117074</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;span style="line-height:115%;font-size:10pt;"&gt;Thanks for your response. I’m a newbie to SharePoint/InfoPath,
but I’m learning!!!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;span style="line-height:115%;font-size:10pt;"&gt;It is a customized form in InfoPath. It queries on field
change. This field shouldn’t change as the person in the picker doesn&amp;#39;t change in
view or edit. My thoughts were that it would re-query ensuring that the correct
manager would display if changed. The error only occurs when you view/edit a record that
has someone selected in the picker and does not error if the picker is blank.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;"&gt;&lt;span style="line-height:115%;font-size:10pt;"&gt;To explain what I’m trying to accomplish. I created a
list of available training classes. Each class has a limited number of seats
that are on a list as a record, with the class name and dates and the people
picker is blank. The manager then edits the record of the available class they
would like to assign their employee to. I wanted it to display the mangers info
as a reference to ensure that they are enrolling the correct employee, which is
an issue as we are a very large company with employees with the same name. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

BTW, This is an awesome forum...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117068.aspx</link><pubDate>Wed, 23 Aug 2017 23:59:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117068</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117068</wfw:commentRss><description>Is this a customized list form? Or is it a regular form? When do you run the data connections and set the fields?</description></item><item><title>Manager AD info missing when editing record.</title><link>https://www.infopathdev.com:443/forums/thread/117061.aspx</link><pubDate>Wed, 23 Aug 2017 16:10:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117061</guid><dc:creator>SmBuch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=117061</wfw:commentRss><description>I created two data connection to pull in the manager’s name of the person in the people picker on an infopath form. The form works fine on a new entry. When I edit the record I get an error querying a data source and the manager’s username and Preferredname is removed. I’ve searched with no avail to find the answer. I have to reenter the person in the people picker to get it pull again.
Thanks in advance for any help.</description></item></channel></rss>