Jeremy Stein - Brain
« Log batch file output | Simple build.xml file for Java web application » |
Don’t use InfoPath’s userName function to set the default value for a people picker
In InfoPath 2010, you can make a people picker default to the current user by setting AccountID’s default value to userName(). However, if you use this value later, say to compare to the form’s creator, you may run into an issue. The userName function doesn’t include the domain. Instead, you may want to fetch the user’s official AccountName from their profile in the FormEvents_Loading method.
One Comment
- Anon replied:
I think this hotfix *might* fix that: http://support.microsoft.com/kb/2516485.
July 24th, 2013 at 5:50 pm. Permalink.
« Log batch file output | Simple build.xml file for Java web application » |
Leave a Reply