web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Nishant Rana’s Weblog / “A type named ’SP.Data.List...

“A type named ’SP.Data.ListItem’ could not be resolved by the model. When a model is available, each type name must resolve to a valid type” error in SharePoint 2013.

Nishant Rana Profile Picture Nishant Rana 11,325 Microsoft Employee

Hi,

Was getting the above error while creating a listitem for a Tasks List using Rest interface in a SharePoint app.

Here we need to pass SP.Data.<ListName>ListItem i.e. ListEntityTypeFullName of the List.

We can get it using the following

https://<site>/_api/web/lists/getbytitle(‘<List Name>’)?$select=ListItemEntityTypeFullName

More details

http://msdn.microsoft.com/en-us/library/jj164022%28office.15%29.aspx#ListItems

Hope it helps.


Filed under: SharePoint 2013, SharePoint Apps Tagged: SharePoint 2013, SharePoint Apps

This was originally posted here.

Comments

*This post is locked for comments