Sunday, January 26, 2014

SharePoint 2013 oData query _ModerationStatus field

Today I found some of the field whose internal name starts with a underscore chracter ("_") has "OData_" prefix that makes it  OData__ModerationStatus.
This prefix is only appears in oData query result.


The this link for list of special fields: http://blogs.msdn.com/b/michael_yeager/archive/2008/11/03/reference-list-for-internal-field-names.aspx


3 comments:

Joe H said...

Thanks! Was pulling my hair out trying to get _ModerationStatus

Eric said...

This doesn't seem to work for updating a listitem -- you can retrieve "OData__ModerationStatus", but you cannot set it.

Amit Bhagat said...

Eric,
I am not sure about the update of ListItem.