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

0

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: ...


1

Change your header attribute "XML-RequestDigest" to "X-RequestDigest". Reference: https://docs.microsoft.com/pt-br/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#working-with-lists-by-using-rest


0

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