<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GetProfilebyUserName appears correct in form preview but not after published</title><link>https://www.infopathdev.com:443/forums/thread/120539.aspx</link><pubDate>Thu, 07 Mar 2019 16:01:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120539</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120539.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120539</wfw:commentRss><description>Good job, glad you got it straightened out. :-)</description></item><item><title>Re: GetProfilebyUserName appears correct in form preview but not after published</title><link>https://www.infopathdev.com:443/forums/thread/120536.aspx</link><pubDate>Thu, 07 Mar 2019 01:45:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120536</guid><dc:creator>Rensims</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120536</wfw:commentRss><description>I finally figured it out with that tutorial.  I had something not right in my data connection file so even though the error had cleared it still wasn’t working right.  I was pretty excited when I got it to work!  Thanks for the reply!</description></item><item><title>Re: GetProfilebyUserName appears correct in form preview but not after published</title><link>https://www.infopathdev.com:443/forums/thread/120529.aspx</link><pubDate>Wed, 06 Mar 2019 15:10:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120529</guid><dc:creator>DerekS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120529</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I had difficulties myself with this when I first started creating forms. Found this tutorial and it helped tremendously: &lt;a href="https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/"&gt;https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I agree with what Hilary said, but also want to add is this form being filled out&amp;nbsp;via web browser or InfoPath Form Filler?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: GetProfilebyUserName appears correct in form preview but not after published</title><link>https://www.infopathdev.com:443/forums/thread/120496.aspx</link><pubDate>Fri, 01 Mar 2019 16:22:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120496</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120496</wfw:commentRss><description>Sometimes profile properties have a different name in the browser.... sometimes the user name needs to be slightly different. Here&amp;#39;s how I troubleshoot. Drag the data connection query and data fields to your form, so you can see the data being returned, and so you have the option to try different values in the query field. Add a button that runs the query (so you can try different queries and see what works!), and add another button that sets the query field to the userName() function - so you can see what the result of that is. Publish the form, and then you can see what&amp;#39;s being returned initially in the query, as well as try setting it to the userName() function (with your test button) and executing the query (with your other test button). Maybe the userName() is including claims info and you need it not to (you can substring that out, need be) but at least this way you can see what&amp;#39;s happening. :)</description></item><item><title>GetProfilebyUserName appears correct in form preview but not after published</title><link>https://www.infopathdev.com:443/forums/thread/120492.aspx</link><pubDate>Thu, 28 Feb 2019 06:22:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120492</guid><dc:creator>Rensims</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120492</wfw:commentRss><description>I&amp;#39;ve set up a data connection to get the users&amp;#39;s email address with a formload rule.  
Rule is to query using the GetProfilebyUserName data connection
Set value of StrCurrentUser to UserName
Set value of email to value=WorkEmail.

When i preview the form it works perfectly. 
When I save and publish the form it doesn&amp;#39;t work.

HELP.  I&amp;#39;m losing sleep.  I was getting an error 5566 (or something like that, but I managed to get my dataconnection to work and quit giving that error.) or at least I made the error go away...maybe it&amp;#39;s not really working??</description></item></channel></rss>