<?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: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106613.aspx</link><pubDate>Mon, 16 May 2016 20:40:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106613</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106613</wfw:commentRss><description>okay i will study it and thanks a ton for your time today Hilary. This one was just giving me a tough time. I am truly grateful for the time you spent helping me figure this out</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106612.aspx</link><pubDate>Mon, 16 May 2016 19:55:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106612</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106612</wfw:commentRss><description>Here is a copy of your form with the same change that worked in my Office 365 site.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106611.aspx</link><pubDate>Mon, 16 May 2016 19:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106611</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106611</wfw:commentRss><description>I took your form, changed the form load rule that sets manager to set the manager field to exactly the formula I listed. I updated the data connection to point to my Office 365 site &amp;amp; published. Attached is a screenshot of the result. I&amp;#39;ll make the same change in your form for you and attach to another reply.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106610.aspx</link><pubDate>Mon, 16 May 2016 19:44:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106610</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106610</wfw:commentRss><description>Ive tried all different variations. The one you just used as an example returns nothing. if i dont use the substring function then it returns the manager email with the i:0#.f|membership| in front of it. Attached is latest version of form. Everything else is working perfectly.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106608.aspx</link><pubDate>Mon, 16 May 2016 19:40:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106608</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106608</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay, so in general, that&amp;#39;s what I&amp;#39;d expect to work. Where is this formula being used? When you set the Manager field from the Form Load rules? Actually, probably not - since you&amp;#39;d use substring-after(&lt;em&gt;&lt;u&gt;Value[Name = &amp;quot;Manager&amp;quot;]&lt;/u&gt;&lt;/em&gt;, &amp;quot;i:0#.f|membership|&amp;quot;) if you were using this in your form load rules where you set the manager field... Is this in the latest form sample you posted? Is it simply leaving the manager field blank?&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106607.aspx</link><pubDate>Mon, 16 May 2016 19:19:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106607</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106607</wfw:commentRss><description>the formula I am using to try and get just the email string is this:
substring-after(Manager,&amp;quot;i:0#.f|membership|&amp;quot;)</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106606.aspx</link><pubDate>Mon, 16 May 2016 19:11:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106606</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106606</wfw:commentRss><description>In the data source task pane, find the data connections you are interested in. Drag the fields onto the form. Add a button that runs the query for the data connection. Publish the form so you can do your testing in the browser. Open the form. Enter values in query fields and click the button you have added to execute the query. I am recommending this so that you can see what is returned in your data connections and better understand how to get the data you need back. What is the formula you are trying to get the manager email? What is the error you are getting? Or do you mean something else by &amp;quot;didn&amp;#39;t work&amp;quot; - like the formula didn&amp;#39;t return a value?</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106605.aspx</link><pubDate>Mon, 16 May 2016 18:56:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106605</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106605</wfw:commentRss><description>how would i do what you are recommending here?</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106604.aspx</link><pubDate>Mon, 16 May 2016 18:46:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106604</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106604</wfw:commentRss><description>please reference newly uploaded file. When you publish or run it you see that the manager field is two substrings. One the email and the other the federation string. I tried using substring after but it did not work. Is their a document on how to get the manager s name of the user that is queried with the userprofile services. I dont even mind the mgr coming across as an email. Makes it easier for approval workflow. But i just cant find a way to use the substring and have it work. Ive been through every doc I can imagine.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106603.aspx</link><pubDate>Mon, 16 May 2016 18:12:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106603</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106603</wfw:commentRss><description>Is that manager info from the initial Get User Profile By Name query? You could then set the account name to that manager&amp;#39;s account name, and query that data connection again to get back the manager&amp;#39;s info. Not sure what you mean by this: &amp;quot;I have used the sub-string after function but to know avail i cannot parse out the email&amp;quot; Substring-after could be used for this - you are looking for the substring after &amp;quot; i:0#.f|membership|&amp;quot;. Put the query &amp;amp; data fields from these various connections on your form and add buttons that query them - you can clean it all up after you are done developing your form - then you can see what is returned in various fields for various queries.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106602.aspx</link><pubDate>Mon, 16 May 2016 17:33:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106602</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106602</wfw:commentRss><description>this works fine, but it brings across an email for the manager instead of the manager name. On top of that it has a i:0#.f|membership| in front of it. I have used the sub-string after function but to know avail i cannot parse out the email</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106598.aspx</link><pubDate>Mon, 16 May 2016 16:04:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106598</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106598</wfw:commentRss><description>It appears you do have a default value in Manager. Remove the default. It does appear you have form load rules to set the value. Since you query these data connections in your form load rules, you may wish to set those data connections to not query on load - that is an option in the last screen of the data connection wizard.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106597.aspx</link><pubDate>Mon, 16 May 2016 15:55:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106597</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106597</wfw:commentRss><description>If you notice from the above form library screenshot...the manager for Colin is Donald. But when I open the form now after the change you recommended his manager says my manager. Meaning i must not have the DC to getcommonmanager or the value for that manager field set up properly...any thoughts?</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106596.aspx</link><pubDate>Mon, 16 May 2016 15:54:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106596</guid><dc:creator>skybreck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106596</wfw:commentRss><description>Thank you that seems to have worked for opening the form and keeping the same user data.</description></item><item><title>Re: Form Loads</title><link>https://www.infopathdev.com:443/forums/thread/106595.aspx</link><pubDate>Mon, 16 May 2016 15:48:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106595</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106595.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106595</wfw:commentRss><description>Your condition in your form load rules is incorrect. It is checking the account name field in the secondary data connection - on form load, that will always be blank. Instead check the account ID field in the main data connection.</description></item></channel></rss>