Populating People Picker via userName() in SharePoint InfoPath RRS feed

  • Question

  • I have a SharePoint List, and I have created an InfoPath form. 

    I have a Date Field, and a Person (people picker) field.  I have added a button.  The Rule behind the button runs the following:

         Set a field's value where Field = My_Date_Field and Value = now()

         Set a field's value where Field = AccountID (from people picker account ID) and Value = userName()

    If I run this in InfoPath Preview, when I click the button then today's date shows up (as expected), and my login ID shows up (as expected, but in Red).  If I click the Check Names button, it resolves and my name turns black.  (Again, as expected).

    If I publish this form and run it, the People Picker field remains blank.


    Thursday, September 14, 2017 3:27 PM

All replies