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?
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.