Try our conversational search powered by Generative AI!

Is it possible to get content that IsPendingPublish:True

Vote:
 

Hi!

I have a question if it possible to get content from Find that is 

"IsPendingPublish$$bool": true,

Lets say I create a new page, I set that it should be published tomorrow at 15:00. When I check the find index, I see that the page exists in the index, but with status 

"IsPendingPublish$$bool": true,

When I run my code to get pages that has a ContentOwner that matches a specific ID I get the correct result, but the page that has "IsPendingPublish: true" is not included in the search result. 

var results = search
.Filter(x => x.ContentOwner.ID.Match(id))
.Take(10).GetContentResult();

Is there any fancy and cool filter that I can use to include content that has "IsPendingPublish:true"?

/ Henric

#202099
Mar 14, 2019 9:37
Vote:
 

I think you can add:

.Filter(x => x.IsPendingPublish.Match(true))
#202109
Mar 14, 2019 12:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.