Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.

 

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

Vote:
 

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
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.