Geeks With Blogs

News Cloud development with Azure, Visual Studio and SharePoint Online!
Thorvald Bøe April 2014 Entries
How to update an image url field in SharePoint using REST
The short story:You need to update an image url field in a SharePoint list using REST and jQuery. If you just try to update the field directly using this syntax in the data part of the ajax query:'ImageField': 'http://myimage'You get this error message: 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartObject' node was expectedInstead you need to use this syntax:'ImageField': {Url: 'http://myimage', Description: 'This is the description'}The full story:http://stackoverflow.... ......

Posted On Monday, April 21, 2014 12:25 PM

Copyright © Thorvald Bøe | Powered by: GeeksWithBlogs.net