You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
Everything seems to work well with the exception of updating an item. After inspecting the network call it consistently shows "lists/getbytitle('Title of List')/items(undefined)" despite passing what appears to be a valid json object with the Id: int of the item. However, after further inspection (Thanks to your Sandbox in the demo app!!) I found SPRestlib or maybe even SP doesn't like the Key being wrapped in quotes such as {"Id:":1234,"Title":"It Doesn't work"}. However {Id:1234,Title:"It worked"} works fine. Obviously this is a JSON.stringify issue when converting my objects. I can't seem to find any way to force stringify not to quote the key. Any idea how to deal with this?
K
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Everything seems to work well with the exception of updating an item. After inspecting the network call it consistently shows "lists/getbytitle('Title of List')/items(undefined)" despite passing what appears to be a valid json object with the Id: int of the item. However, after further inspection (Thanks to your Sandbox in the demo app!!) I found SPRestlib or maybe even SP doesn't like the Key being wrapped in quotes such as {"Id:":1234,"Title":"It Doesn't work"}. However {Id:1234,Title:"It worked"} works fine. Obviously this is a JSON.stringify issue when converting my objects. I can't seem to find any way to force stringify not to quote the key. Any idea how to deal with this?
K
The text was updated successfully, but these errors were encountered: