<?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: Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67366.aspx</link><pubDate>Wed, 15 Jun 2011 06:24:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67366</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67366.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67366</wfw:commentRss><description>&lt;p&gt;There&amp;#39;s a difference between rules and default values. Default values don&amp;#39;t work to automatically recalculate when they are based on secondary data sources that don&amp;#39;t change. So, you should just use a rule if you want to update it every time someone else opens the form. &lt;/p&gt;
&lt;p&gt;It&amp;#39;s triggered on form load. You could add a rule to a button or a field and trigger it in a different way. Lots of options.&lt;/p&gt;
&lt;p&gt;Best!&lt;/p&gt;</description></item><item><title>Re: Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67363.aspx</link><pubDate>Wed, 15 Jun 2011 01:25:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67363</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67363.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67363</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do you mean set the rule to update the field value with the GetMyInfo data connection? Hmmm, shouldn&amp;#39;t this be done when we check the box &amp;quot;Update this value when the results of the formula is recalculated&amp;quot;. This check doesn&amp;#39;t seem to do the recalculation.&lt;/p&gt;
&lt;p&gt;Now that I reread the statement, I&amp;#39;m wondering what it means when the results of the formula is recalculated. How will this be triggered? When the input parameters are updated? Or when the output result is updated/different? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Zhen Yuan&lt;/p&gt;</description></item><item><title>Re: Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67349.aspx</link><pubDate>Tue, 14 Jun 2011 17:52:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67349</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67349.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67349</wfw:commentRss><description>&lt;p&gt;Hi ZhenYuan,&lt;/p&gt;
&lt;p&gt;If you want to reset the field when the form opens (i.e. subsequent updates), just add a Form Load rule that sets the value to the Active Directory info. &lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;</description></item><item><title>Re: Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67133.aspx</link><pubDate>Tue, 07 Jun 2011 01:27:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67133</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67133</wfw:commentRss><description>&lt;p&gt;Hi Ged,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have tried that method but it does not work for me. The field only populates with the initial form author, subsequent updates on the form does not change the field values. I&amp;#39;ve checked the box, &amp;quot;Update this value when the results of the formula is recalculated&amp;quot;. Am I supposed to check that box?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;ZhenYuan&lt;/p&gt;</description></item><item><title>Re: Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67114.aspx</link><pubDate>Mon, 06 Jun 2011 08:17:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67114</guid><dc:creator>GedCT</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67114</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I use the GetMyInfo procedure to record the identify of the person opening the form, not just as a post processing task.&amp;nbsp; I set the receiving data connection to point to the DBXL web service and to access &lt;a href="http://server:port/QdabraWebService/ADUserInfo.asmx?WSDL"&gt;HTTP://server:port/QdabraWebService/ADUserInfo.asmx?WSDL&lt;/a&gt;.&amp;nbsp; I then have a text field in the form called FormAuthor and I set the default value of this field to Value[key=&amp;quot;cn&amp;quot;] to get the name of the individual.&amp;nbsp; If I subsequently attach this to a text box on the front page, it then displays the name of the person that opens the form, different each time.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a screenshot to demonstrate.&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:444px;HEIGHT:618px;" title="Screen shot" alt="Screen shot" src="http://2and7.co.uk/wp-content/uploads/2011/06/Untitled.png" width="444" height="618" /&gt;&lt;/p&gt;
&lt;p&gt;Ged&lt;/p&gt;</description></item><item><title>Is there a way to detect AD username upon form launch?</title><link>https://www.infopathdev.com:443/forums/thread/67110.aspx</link><pubDate>Sun, 05 Jun 2011 13:22:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67110</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67110</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there a way to detect AD username upon form launch? Something like when you submit the form using DBXL, DBXL is able to detect which user submitted the form. However, instead of a post event, is there a field on the form that stores this data? &lt;/p&gt;
&lt;p&gt;Understand that you can use GetMyInfo to get Value[Key = &amp;quot;displayName&amp;quot;]. However, it seems to work only for the first user who launch the form. I need this &amp;quot;GetMyInfo&amp;quot; to detect a form updater&amp;#39;s displayName and use it for some conditional formating rules. Therefore, this GetMyInfo will need to be updated everytime the form is launched. I have checked update this value when formula is recalculated but it does not seem to update it. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for any help,&lt;/p&gt;
&lt;p&gt;Zhen Yuan&lt;/p&gt;</description></item></channel></rss>