Hi, up to some level I was able to extract blogs from the data collection:
wixData . query ( ‘Blog/Posts’ )
//.eq(“author”,wixUsers.currentUser.id) // faalt om onverklaarbare reden
. descending ( ‘publishedDate’ )
. find ()
. then ( data => data.items.filter ( i => i.author === wixUsers.currentUser.id ))
However there are 2 problems:
I could not properly filter on the autor.
It is very unclear where the drafts are stored, I haven’t found them yet…
Does anyone know where the drafts are stored?