<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/103599.aspx</link><pubDate>Thu, 13 Aug 2015 03:52:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103599</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103599.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=103599</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;For cases like this, I would recommed displaying the fields from the GetUserProfileByName data connection onto the canvas, and add a button to query the data connection. If the GetUserProfileByName data is not populated, then the issue would be the userName() function. However, if it does get populated, then you may need to re-structure the logic that specifies the username and performs the query.&lt;br /&gt;&lt;br /&gt;Did you tick the check box at the data connection to query on load? If so, then you may need to disable this and add rules on form load to populate username logic and query the data connection. Hope this makes sense.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/103591.aspx</link><pubDate>Wed, 12 Aug 2015 15:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103591</guid><dc:creator>MWAN001</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=103591</wfw:commentRss><description>&lt;p&gt;I mean the Department, Division, Phone Number, and email address that should fetch values from the WebService is not populated. &lt;/p&gt;&lt;p&gt;Only the logon user field is populated when the form is published to Form library while all the fields are populated in Preview.&lt;/p&gt;</description></item><item><title>Re: user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/103588.aspx</link><pubDate>Wed, 12 Aug 2015 05:20:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103588</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=103588</wfw:commentRss><description>&lt;p&gt;Hi,
&lt;br /&gt;&lt;br /&gt;Using the userName() function in the browser returns a different userName() value in the browser. This explains why there is no value returned. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Could you try to cross check by publishing a test form and see what the function userName() will return? You could either use a text field or a calculated value box with the userName() as the default value.
After doing so, kindly post the value returned here (from the browser) together with the correct userName value in preview mode. &lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to create a formula you could use in order to get the correct value.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/103573.aspx</link><pubDate>Mon, 10 Aug 2015 17:48:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103573</guid><dc:creator>MWAN001</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=103573</wfw:commentRss><description>&lt;p&gt;user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010&lt;/p&gt;&lt;p&gt;We have a requirement to prepopulate userinfo fields when the form loads and when the GetInfo button is clicked.&lt;/p&gt;&lt;p&gt;We use GetUserProfileByName web service to retrieve userinfo fields, such as EmailAddress, Department, Division, Phone Number. &lt;/p&gt;&lt;p&gt;At Infopath Designer preview,  all the userinfo fields are populated as expected. Then I published the Infopath form to the Form Library.&lt;/p&gt;&lt;p&gt;At browser, the formload only populate logon user&amp;#39;s name at the name picker field. Selected a different user and clicked on GetInfo button doesn&amp;#39;t populate userinfo fields as well.&lt;/p&gt;&lt;p&gt; I have checked with a colleague but she uses custom list mostly. She didn&amp;#39;t run into this issue. &lt;/p&gt;&lt;p&gt;&amp;nbsp;What is happening here?  The Infopath template is published to a Form library. &lt;/p&gt;&lt;p&gt;Does the permisison need to be elevated to Full Control to use the GetUserProfileByName webservice with Form library? &lt;/p&gt;&lt;p&gt;Currently the by default permisison is checked.  &lt;/p&gt;&lt;p&gt;Please help and much appreciated!!  &lt;/p&gt;</description></item></channel></rss>