<?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: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94468.aspx</link><pubDate>Fri, 22 Nov 2013 16:10:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94468</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94468</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You bet - when you get things resolved, please update the thread so that others can benefit. :)&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94466.aspx</link><pubDate>Fri, 22 Nov 2013 15:45:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94466</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94466</wfw:commentRss><description>&lt;p&gt;Hilary, I thought I might update you on the situation.&amp;nbsp; After doing what you suggested I did indeed find out that what you mentioned above was happening.&amp;nbsp; It&amp;#39;s because I built the site for the client using claims based authentication in an attempt to ease things when eventually upgrading them to 2013.&amp;nbsp; This is causing no end of issues with my forms.&amp;nbsp; So I ended up calling Microsoft to see if there was a work around.&amp;nbsp;We attempted using creating a new secure store entry for the forms but that didn&amp;#39;t work.&amp;nbsp; I&amp;#39;m still working with them on this.&amp;nbsp; I wanted to thank you for pointing me in the right direction.&amp;nbsp; As always I much appreciate your help and the help of your company. &lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94361.aspx</link><pubDate>Mon, 18 Nov 2013 23:03:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94361</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94361</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Does it return data in the browser? Is the error occurring when the data connection executes? &lt;/p&gt;&lt;p&gt;When you open in filler, the user profile web service is going to work w/ your user name from Windows - jsmith, whatever. But then, in the browser, it wants your claims user name.... And that isn&amp;#39;t what&amp;#39;s being passed to the data connection.&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94360.aspx</link><pubDate>Mon, 18 Nov 2013 22:52:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94360</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94360.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94360</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary, thanks for the response...&amp;nbsp; I&amp;#39;m not sure how this relates to the data connection&amp;nbsp;throwing a permissions error, sorry I&amp;#39;m confused. &amp;nbsp;The data connection works fine (returns&amp;nbsp;the users name)&amp;nbsp;when in design mode, it only throws an error when opening the form after it has been published. &lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94359.aspx</link><pubDate>Mon, 18 Nov 2013 22:36:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94359</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94359</wfw:commentRss><description>&lt;p&gt;Is your data connection executing on load? I would set it to not do that. I&amp;#39;d drag the query field onto the form and add a button that executes the query. I&amp;#39;d put some data fields on the form too so I&amp;#39;d know if I got anything back. Then add a calculated value on the form with the userName() function as the value. Publish, and open in the browser. Now you can see what your userName() is according to the claims enviro - try pasting the value in the calc&amp;#39;d value into the query field and executing the data connection to see what you get....&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94357.aspx</link><pubDate>Mon, 18 Nov 2013 20:00:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94357</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94357</wfw:commentRss><description>&lt;p&gt;Hilary, I&amp;#39;ve run into one more issue on this.&amp;nbsp; I get an authentication error when trying to open the form on the server.&lt;/p&gt;&lt;p&gt;I check the&amp;nbsp;SharePoint&amp;nbsp;event log and I see this... Server was unable to process request Attempted to perform an unuthorized operation.&lt;/p&gt;&lt;p&gt;So I created a test form with a single field&amp;nbsp;&amp;quot;EmpName&amp;quot;.&amp;nbsp; Created a data connection to the GetUserProfileByName.&amp;nbsp; Converted the data connection in InfoPath to a Connection File and saved it to my Data Connection library on SharePoint.&amp;nbsp; Approved the Data Connection in the library.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Still get the same error.&amp;nbsp; &lt;/p&gt;&lt;p&gt;The form has been uploaded as a content type.&amp;nbsp;The forms security is set to Automatically Determain,&amp;nbsp;there is no certificate attached to the form.&amp;nbsp; The site &amp;nbsp;is using&amp;nbsp; NOT https&amp;nbsp;and SharePoint is&amp;nbsp;using Claim Based Authentication.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also I have gotten this process to work in the past and on my test dev environment with no issues.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Hilary any help you can give me would be appreciated.&amp;nbsp; I have never ran into this many issues with publishing a form.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94212.aspx</link><pubDate>Fri, 08 Nov 2013 23:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94212</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94212</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hah - well I should have caught it prior to making you drag a bunch of debug stuff onto your form and PROVE that FirstName existed. :) Have a great weekend!&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94211.aspx</link><pubDate>Fri, 08 Nov 2013 23:42:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94211</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94211</wfw:commentRss><description>see it was something stupid I missed.&amp;nbsp; Thank you!&amp;nbsp; It&amp;#39;s nice to know that the light at the end of the tunnle is you and not an on coming train!&amp;nbsp; :)</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94210.aspx</link><pubDate>Fri, 08 Nov 2013 23:34:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94210</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94210</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;xdXDocument:GetDOM(&amp;quot;GetUserProfileByName&amp;quot;)/dfs:myFields/dfs:dataFields/tns:GetUserProfileByNameResponse/tns:GetUserProfileByNameResult/tns:PropertyData/tns:Values/tns:ValueData/tns:Value[../../../tns:Name = &amp;#39;&amp;quot;FirstName&amp;quot;&amp;#39;]&lt;/p&gt;&lt;p&gt;I just realized, you have too many quotes around FirstName. You want just &amp;quot;FirstName&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94209.aspx</link><pubDate>Fri, 08 Nov 2013 23:27:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94209</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94209</wfw:commentRss><description>&lt;p&gt;Hilary, yes the query is pulling in the FirstName. See the screen cap attached. &lt;/p&gt;</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94207.aspx</link><pubDate>Fri, 08 Nov 2013 21:08:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94207</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94207</wfw:commentRss><description>actualy that is what I am intending.&amp;nbsp; I need a field that shows who opened the form, then I have rules based on that information.&amp;nbsp; And thank you for your guidence.</description></item><item><title>Re: Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94202.aspx</link><pubDate>Fri, 08 Nov 2013 19:31:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94202</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94202</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here&amp;#39;s how I usually debug this sort of thing.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Drag the query fields and data fields from the GetUserProfileByName data source onto your form&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Add a button that queries that data source&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Preview the form - are you getting any data back?&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Enter a value in the query fields Account Name field and click the button that executes the query - are you getting any data back?&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;If you are getting data back, is FirstName one of the fields?&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I&amp;#39;d warn you against using a default value for this information in your main data source. If the query executes on load, the field will be reset to the name of whoever opened it - works great if that&amp;#39;s what you are intending, but it is usually not what people mean to do....&lt;/p&gt;</description></item><item><title>Need help with... Get Current User (No Code)</title><link>https://www.infopathdev.com:443/forums/thread/94201.aspx</link><pubDate>Fri, 08 Nov 2013 19:23:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94201</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94201</wfw:commentRss><description>&lt;p&gt;I am trying to pull in the name of current user&lt;/p&gt;&lt;p&gt;I would normaly use ADWS to do this but the&amp;nbsp;client dosn&amp;#39;t have it.&amp;nbsp;&amp;nbsp;So I&amp;#39;m using the following blog but to no avail.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx"&gt;http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Attached is an example form.&amp;nbsp; Can anyone tell me what I am doing wrong. &amp;nbsp;I know I&amp;#39;m missing something really simple. &lt;/p&gt;&lt;p&gt;Info: &lt;/p&gt;&lt;p&gt;SharePoint 2010 Ent,&amp;nbsp;Infopath&amp;nbsp;2010, brouser based form&amp;nbsp;Security level set to Auto, no cert.&lt;/p&gt;</description></item></channel></rss>