Hot answers tagged

2

The problem is the value you have in this variable accResponsible. User field in SharePoint list cannot be update using a var value, we need a SP.FieldUserValue to put it into the list. I find answer here using the person name instead the id is more easy than find user id if you don't have it. How to set any SP.Field Value with JSOM (Javascript) in ...


2

While using JSOM we need to use the internal name (and not the display name of column which you see in the list) of the SharePoint column in code. By looking at an error you are getting I suspect that you are using the wrong name of your PosType field. Check the internal name of your column by using the method given in below article and then use that name ...


Only top voted, non community-wiki answers of a minimum length are eligible