Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged


It looked like the data was structured wrong, I've broken it out into it's own variable so you can see the general look of how it should be. In itemdata, the type has to be specific to the list it is going into SP.Data.<ListName>ListItem. It is also a good idea to get the request digest at the time of execution. You can try something like this: ...


Change your header attribute "XML-RequestDigest" to "X-RequestDigest". Reference:


Please take a ref from the below link. Just need to modify the html as per the requirement . Link

Top 50 recent answers are included