cancel
Showing results for 
Search instead for 
Did you mean: 

blog entry draft property

cszamudio
Champ on-the-rise
Champ on-the-rise
Hi,

I've been trying to figure out how draft blog entries are represented in the repository.  When I use the Node Browser to view the properties of a draft blog entry node, there appears to be no property associated with the blog status. There doesn't appear to be an aspect related to this either.  Does anyone have knowledge of how the blog entry status (e.g, Draft) is represented in the repository? 

Thank you.
Carlos S. Zamudio
2 REPLIES 2

cszamudio
Champ on-the-rise
Champ on-the-rise
I can see from the REST javascript that a blog draft is really an entry that is restricted to the author by permissions. So, no property is used.

cszamudio
Champ on-the-rise
Champ on-the-rise
Just for clarification in case someone runs into this issue.

The javascript that retrieves user published blog entries (bog-posts-mypublished.get) checks whether a published date field exists for an entry.  If no published date field exists, the entry is considered a draft.