Hi all – Have set up a rule triggered on form load to set the default value of a people picker column to {currentUser} – when the form loads – the people picker show the person & presence, and the persons first name (see screen shot). If I set a plain textfield to {currentUser} it behaves as expected. I even tried setting a plain text field called Interim to {currentUser} and then a later rule to set the people picker to {Interim} – but saw the same behaviour.
I used spjs.utility.userProfile(); to access the properties on the UPS. Unfortunately, most of the columns do not work. An example is I have to use {currentUser:EMail} instead of what the ups says is WorkEmail. I tried AccountName on both a text field and a people field. I am attaching a picture of my fields along with a snapshot of my console output. Any guidance would be appreciated.
Thanks!
cant delete this… found I was using currentuser instead of userprofile. nevermind this entire comment.
This reply was modified 7 years, 10 months ago by William Summers.