Started: 9/23/2018 1:40 AM
Picture: Nancy Castelo
Nancy Castelo
Saving Peoplepicker values in a repeater into a lists "Persom or Group" column

​Hi,

how would i manage to collect all the peoplepicker values in several rows of a repeater and save the collected accounts into the list's "Person or Group" column?

Picture: Nancy Castelo
  • Nancy Castelo
http://www.itlaq.com:80/my/User%2520Photos/Profile%2520Pictures/nancy_MThumb.jpg?t=63623639746" alt="Picture: Nancy Castelo" />
Nancy Castelo

​Hi,

how would i manage to collect all the peoplepicker values in several rows of a repeater and save the collected accounts into the list's "Person or Group" column?

19/23/2018 1:40 AM9/23/2018 1:40 AMNoCodes & Scripts
6.85726062538364
19/20/2018 7:58 AM1
Mike Odeh
Posted: 9/23/2018 5:54 AM
Picture: Mike Odeh
Mike Odeh
Hi Nancy,


I did this before on one of my forms, please follow the below steps:

  1. Create a hidden peoplepicker control inside the form and set it to accept multi-values, let's call it peoplepicker2.
  2. Map the above control to your list's "Person or Group" column.
  3. Create a rule on this control, type action, trigger onchange, no need for condition and insert the code in point 4, this code will save your selections in the repeater into the peoplepicker and saves it in the list.
  4. setPeoplePicker(PeoplePicker2,getRepeaterData(PeoplePicker1))


    where:

    PeoplePicker1: the control inside the repeater

    PeoplePicker2: the control outside the repeater (Multiple selections)

     
This should work with you

 

 


Picture: Mike Odeh
  • Mike Odeh
http://www.itlaq.com:80/my/User%2520Photos/Profile%2520Pictures/mike_MThumb.jpg?t=63624568071" alt="Picture: Mike Odeh" />
Mike Odeh
Hi Nancy,


I did this before on one of my forms, please follow the below steps:

  1. Create a hidden peoplepicker control inside the form and set it to accept multi-values, let's call it peoplepicker2.
  2. Map the above control to your list's "Person or Group" column.
  3. Create a rule on this control, type action, trigger onchange, no need for condition and insert the code in point 4, this code will save your selections in the repeater into the peoplepicker and saves it in the list.
  4. setPeoplePicker(PeoplePicker2,getRepeaterData(PeoplePicker1))


    where:

    PeoplePicker1: the control inside the repeater

    PeoplePicker2: the control outside the repeater (Multiple selections)

     
This should work with you

 

 


Nancy Castelo5209/23/2018 5:54 AM9/23/2018 5:54 AM
9/20/2018 8:47 AM0