<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Pre-populate User Info from Sharepoint Online</title><link>https://www.infopathdev.com:443/forums/thread/116011.aspx</link><pubDate>Tue, 11 Apr 2017 14:15:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116011</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=116011</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi! Last I checked, the UserProfile service (this is SOAP) was still available in Office365 forms. Here is a pretty good blog post: &lt;a href="http://eimagine.com/using-infopath-and-the-web-service-getuserprofilebyname/"&gt;http://eimagine.com/using-infopath-and-the-web-service-getuserprofilebyname/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;You may have to play around a little to get the account name query parameter correct. The easiest (to me) way to do this is to add the query and data fields to the form canvas (just drag them onto the form someplace) and then add a button that executes the query.&amp;nbsp;Add another button that sets the query field to&amp;nbsp;the userName() function. If I recall correctly, the claims based user name is what works in O365 - so click the first button to set the account name to the userName() function, then the second to run the query to make sure you get results. Then you can test with other users besides yourself, just so you are comfortable with how the query works &amp;amp; what data is returned. :)&lt;/p&gt;</description></item><item><title>Pre-populate User Info from Sharepoint Online</title><link>https://www.infopathdev.com:443/forums/thread/115997.aspx</link><pubDate>Mon, 10 Apr 2017 06:44:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115997</guid><dc:creator>Someuser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115997.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=115997</wfw:commentRss><description>&lt;p&gt;Hi Guys,&lt;/p&gt;&lt;p&gt;I&amp;#39;m having trouble finding an up to date method that works for the below scenario:&lt;/p&gt;&lt;p&gt;Sharepoint Online (O365) Form Library with a Browser Enabled Infopath 2013 Form. The form is not public so the user must login to Office 365 to access it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First 3 Questions in the form are:&lt;/p&gt;&lt;p&gt;First Name:&lt;br /&gt;Last Name:&lt;br /&gt;Email Address:&lt;/p&gt;&lt;p&gt;I&amp;#39;d love to be able to pre-populate this with the current sharepoint users info so they don&amp;#39;t have to fill this information out.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve managed to get Email Address to kind of work with a formula - substring-after(userName(), &amp;quot;i:0#.f|membership|&amp;quot;)&lt;br /&gt;but how I can automatically add Firstname and Lastname info to the form is defeating me (I&amp;#39;m such a n00b with Infopath and SharePoint). &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve read about SOAP, Rest and a few other methods but haven&amp;#39;t seemed to get them to work with Sharepoint Online.&lt;/p&gt;&lt;p&gt;Anyone know of a way that definitely works with Sharepoint Online? &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>