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

Forums Dynamic Forms for SharePoint People picker field is not set correctly when "Set field value" in rule is used

This topic contains 1 reply, has 2 voices, and was last updated by  Alexander Bautz 1 month, 3 weeks ago.

  • 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 1 month, 3 weeks 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

You must be logged in to reply to this topic.