Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Populate SP Group members into SP 2013 People Picker field on newform.aspx of the SPList

$
0
0

Am having a SPList with a people picker field(default client side people picker field).

and when i click on the new item, newform.aspx is loaded. Here, I need to populate the members of a particular SPGroup (say mySPGRoup1) which may have  0 member , 1 member or more than 1 members.

I went to the people picker field and tried to set the property of this ppl picker field -- choose from - mySPGRoup1 .

But, when I opened the newform , i am unable to see the members of the mySPGRoup1. i have added 4 members already in this group, including myself , and my junior members. But somehow, the members have not populated from the mySPGRoup1 and

did not bind in the people picker field.

Do i need to write code - csom/ spservices to fetch the members from mySPGRoup1 group and assign it to peoplepicker field, on the page load event/ document.ready() ????     

also, another requirement is that, if i click on the save button on this newform.aspx, i need to insert these multi-select members into the person-group column defined in the splist.




Viewing all articles
Browse latest Browse all 7589

Trending Articles