contentmanager getitem does not find the content if it is checked in or checked out

Member since: 2010

ContentManager cMgr = new ContentManager();
ContentData cData = new ContentData();
cData = cMgr.GetItem(contentID, false);
if (cData != null)
{
//Found the content
}
else
{
//Could not find the content by ID
}

If the content's status is "O" or "I" (as observed in the workarea), the content is not found. 

Nor can I figure out how to find the status of a content item.

Is it me or should the API find "O" and "I" items? And if not, how can I find the status of an item?

Thanks in advance.

#180909 Aug 02, 2017 0:54