People picker field is not set correctly when "Set field value" in rule is used

Home › Forums › Classic DFFS › People picker field is not set correctly when "Set field value" in rule is used

Viewing 1 reply thread
  • Author
    Posts
    • #17040
      chgrnet
      Participant

        I have a rule set (using Set field value) to load {currentUser} into a people picker field. When the rule is triggered, it does add the name, but then it add the first name again for some reason.

        I have just upgraded my site to SP 2013, previously when I used this on 2010 it worked as expected.

        Also, I am using your latest version of code (June 2017).

        • This topic was modified 9 years, 5 months ago by chgrnet.
      • #17051
        Alexander Bautz
        Keymaster

          Hi,
          The problem is the comma in the name. Use this in the “Value” field to set the login name instead:

          {currentUser:Name}

          Alexander

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.