0
votes

Greetings all,

I have a question.

On my MOSS 2007 dev box, I created a new sharepoint site using the Publishing -> Publishing Site template.

Now, On this site, I can create pages, check them in, publish them, etc.

What I want to do is create a scope that I can do searches on. However, one of the filters I want to apply to the scope is to ignore everything which is not published.

Does anyone out there know of a property (which I can use in a metadata property in my shared service which is in turn used in my scope) to determine if a page is in a published status, draft status, any other sort of status?

Does such a property exist?

Thanks in advance for your help.

cmb..

2

2 Answers

1
votes

By default, when you view pages in a SharePoint site, and you're not signed in (eg your a anon user) then you will only see the last published version of that page. You won't see the version currently being edited (if it is checked out).

Now, if you want to stop users who are signed in from searching any pages which are not checked in, then have a look at filtering using the 'Approved Status' field. I'm not sure how to do this myself, but that's usually the field you filter on for stuff like views.

0
votes

Yes, the "Approval Status" field is what you're looking for.

The property you need to map to is "_ModerationStatus" within your SSP search configuration.