<?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: GetUserProfileByName populating name change on View Switch</title><link>https://www.infopathdev.com:443/forums/thread/93705.aspx</link><pubDate>Wed, 16 Oct 2013 13:43:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93705</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93705</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Do be very careful with default values - sometimes they are exactly what you want, sometimes not. For example, if you had an Invoice form with a secondary data connection that had items and their prices - if you use default values for price and the price changes - what happens when you re-open an old invoice? Most likely, the price gets updated to the latest info and now all of a sudden your invoice has inaccurate info - &amp;#39;cause you didn&amp;#39;t charge 16.19 for that item back when it was created. :)&lt;/p&gt;&lt;p&gt;Glad you have it sorted!&lt;/p&gt;</description></item><item><title>Re: GetUserProfileByName populating name change on View Switch</title><link>https://www.infopathdev.com:443/forums/thread/93696.aspx</link><pubDate>Wed, 16 Oct 2013 03:05:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93696</guid><dc:creator>dsanchez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93696</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;As expected, you were right Hilary!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you once again!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: GetUserProfileByName populating name change on View Switch</title><link>https://www.infopathdev.com:443/forums/thread/93689.aspx</link><pubDate>Wed, 16 Oct 2013 01:35:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93689</guid><dc:creator>dsanchez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93689</wfw:commentRss><description>&lt;p&gt;Hi again Hilary, our resident guru! :)&lt;/p&gt;&lt;p&gt;As guessed, yes I am using the default value and from here grabbing the secondary data source and filtering the values for the fields PreferredName, Title and WorkEmail.&lt;/p&gt;&lt;p&gt;Funny you mention the form load rule, I did initially had one when I was using the people picker control, but changed it to text boxes/default values option in design so disabled it.&lt;/p&gt;&lt;p&gt;I&amp;#39;ll give it a crack and see how I go...&amp;nbsp; &lt;/p&gt;&lt;p&gt;Cheers &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: GetUserProfileByName populating name change on View Switch</title><link>https://www.infopathdev.com:443/forums/thread/93686.aspx</link><pubDate>Wed, 16 Oct 2013 01:23:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93686</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93686</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;My guess here is that you are using a default value that uses your secondary data connection. And that the data connection queries on load, so it will always have the name of the person opening the form.&lt;/p&gt;&lt;p&gt;Instead, use a form load rule and add a condition to it&amp;nbsp;so that the user details only get set the first time the form is open. Let&amp;#39;s pretend you have a field in the main data source of your form called UserEmail. You could add a form load rule that checks to see if UserEmail is blank, and if it is, set the field to the value from the User Profile web service.... Does that make sense?&lt;/p&gt;</description></item><item><title>GetUserProfileByName populating name change on View Switch</title><link>https://www.infopathdev.com:443/forums/thread/93684.aspx</link><pubDate>Wed, 16 Oct 2013 00:40:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93684</guid><dc:creator>dsanchez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93684</wfw:commentRss><description>&lt;p&gt;Hi everyone, got somewhat a bit of a complex issue and not sure how to resolve it. Was hoping someone could point me in the right direction&lt;/p&gt;&lt;p&gt;My situation is that I am using the GetUserProfileByName web service to populate submitting user details on a form. Works great and doing what it needs to do when a user submits a form. But I have noticed when the form has been submitted and is required to be approved, the web service changes the populated name to the user who is approving the form, not the one who initially submitted it.&lt;/p&gt;&lt;p&gt;So my question is, is it possible to to make the submitting user details static on the following approving form? I really cant use this function if it keeps on changing to whoever is approving the form.&lt;/p&gt;&lt;p&gt;Many thanks &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>