v15 - How do I get the real status of a IContent ?
# help-with-umbraco
m
I am trying to get the real status of a content node (IContent). I get a list of conten nodes with contentService.GetPagedChildren(...) I need to get the status (not the PublishState) - I need the ContentStatus (Unpublished, Trashed, Published, AwaitingRelease etc.) I have tried to get it to work by looking in the UmbracoCMS repository, but with no luck. Played around with GetContentScheduleByContentId and GetStatus. I keep getting "Published". But the Backoffice knows some dark magic and can show the ContentStatus - BUT HOW ???? https://cdn.discordapp.com/attachments/1310977219182465024/1310977219396636723/image.png?ex=67472e2d&is=6745dcad&hm=65cfa025321991e84563746ea205868fffe55904a3e49c40c20f5b3ec411881b&
2 Views