EditForm not allowed to save peoplepicker column value
Posted: 24 Nov 2016
Hi,
In my list I had a peoplepicker column. When edit the list item it won't populate the Person or Field column. And it wont allow me to save the item on edit form. In my master page I referred sp.js file.
I got a solution like this
SP.js file is already in the page. You only need to wait until it’s loaded. Use SOD (scripts on demand):
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function() {
// your code here
});
In my spform designer I didnt add any script. Itried with this
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function());
This also didnt populate the data.
In my list I had a peoplepicker column. When edit the list item it won't populate the Person or Field column. And it wont allow me to save the item on edit form. In my master page I referred sp.js file.
I got a solution like this
SP.js file is already in the page. You only need to wait until it’s loaded. Use SOD (scripts on demand):
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function() {
// your code here
});
In my spform designer I didnt add any script. Itried with this
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function());
This also didnt populate the data.