SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a search scope in SharePoint 2007 that searches all lists in a given site. But I want the results to only include the actual list item itself, not the all items form or anything else.

Except it seems that search scopes can only include/exclude items at the folder level. Is there any way I can create a simple search scope to only include the following:


share|improve this question
up vote 0 down vote accepted

your url is wrong, try this instead:

http://< domain url>/* /*/DispForm.aspx

If i was to split it up it would be like this:


http://< domain url>

parent folder levels (2)

/* /*/

the aspx file you want ;)


an example is:*/*/DispForm.aspx

Also you need to ammend or create a search rule within cental admin.

1) goto central admin

2) click on Shared Services Administration

3) click Shared Services

4) click Search Settings

5) click New Crawl Rule

6) add url parths you want to include/exclude from the crawl list :)

add the url above to the allow section and all other urls to disallow :)

hope it helps :)

share|improve this answer
I suppose this would work but I was hoping to accomplish it with a single scope, thus keeping the crawl index untouched. I'll give it a try. – jethomas Nov 9 '12 at 18:12

You should be able to use the following:

Scope Rule Type: Property Query

Property Query: FileExtension = aspx

Behavior: Require

In order to have the FileExtension property be available you will need to go to Search Administration within Central Administration and edit the FileExtension Managed Property (Search Administration > Metadata Properties and find FileExtension). Check the box "Allow this property to be used in scopes" checkbox and click OK. Then run a full crawl.

share|improve this answer
Not seeing FileExtension in the properties list – jethomas Nov 9 '12 at 18:11
@jethomas I forgot that this isn't available with the default managed property configuration. I've added instructions above on how to make this available for your scopes. – theChrisKent Nov 9 '12 at 20:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.