We have approval workflow for document library & content approval column was set to yes for it.
We have used KeywordQuery on the library by creating separate scope.
We want to display only approved items in search result for that we have set ApprovalStatus property to Zero in scope rule.
but even after adding this propert we are getting pending documents in search result.
Also after adding the property ApprovalStatus = 0 ,Item Count shows "error" as its value instead of count.
Pls let me know how to show only Approved items in search result.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
|||
|
|
|
ows_ModerationStatus is the crawled property you are looking for. In my environment, it is not mapped to a metadata property, which is what the keyword search uses. Here is the msdn link to manage metadata properties: MSDN metadata properties. Check to make sure the mapping from moderation status to approvalstatus is set up. |
|||||
|