Skip to main content

Search

Fill Person Field

Comments

7 comments

  • Matthias_Walter

    Hi Nicole,

    you could use the following Calculated Function Expression on the 3rd person field:

    var users = [];
    users.push([[singleuser1.Email]]);
    users.push([[SingleUser2.Email]]);
    return users;
     
    This should work on New- and EditForms.
    BR Matthias
    2
  • Nicole

    Thank you Matthias_Walter. it works :)

    0
  • Dan Thale

    Matthias, 

    I have a similar scenario. I need to copy a user(s) from a source list's lookup field into another person field on the destination list. A simple Set Field as well as Update an Item actions only are bringing in the first person in the source field and not all people listed. How can I make this happen? Thanks!

    0
  • Nicole

    Hello Dan Thale

    click on the field set calculate value and use this funcion from Matthias. It works for me well. no set field and update item needed.

    var users = [];
    users.push([[singleuser1.Email]]);
    users.push([[SingleUser2.Email]]);
    return users;
    0
  • Dan Thale

    Nicole, 

    Thank you for the reply. I have tried this code and while in the test it does show both users from the lookup list, the target field is still only populated with one user. I'll follow up with support directly. Thanks!

    0
  • Nicole

    Hi Dan Thale

    have you allow multiple selection in the settings of the column person or group?

    Kind regards

    Nicole

    0
  • Dan Thale

    Nicole, 

    Yes multiple selection is enabled on the target field. 

     

    0

Please sign in to leave a comment.