.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Search Scopes - new display group always shows "This site:"

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint

Hello all,

I have created a new scope (Scope A) and everythind works ok. Then I wanted to create a search page (my search page with a search box and search core results) to show only the results from the created scope.

I created a new search display group (Display Group B) and assigned the "Scope A", configured the search box to display the "Display Group B" hidding the scopes drop down list and it didnt work as I wanted as it displayed all the results by default.~

How can I remove the "This site" from my display group, keeping only one scope as the default one?

Thanks for all the help

Best Regards,

André Cunha




View Complete Post

More Related Resource Links

How to display a count of search results with keywords in a label?


Sorry for a basic post here; I am very new to VB!

I am currently building a search page, which includes a textbox and two drop-down lists, a search button, and a datagrid. If results are found and displayed, I would like a label to display:

(e.g.) "24 results found for 'blue sky clouds' "

...where the integer represents the results count, and the keywords and/or drop-down list selections are included in the string.

If no results are found I would like the label to display:

(e.g.) "No results were found that match your selection. Please try again"

I would also like the label to be invisible until a search occurs.

Thanks in advance!

Sharepoint list group by column data ,display in webcontrol like panel or label


I  have a sharepoint list[Managers] with groupby sector column. like below




Each Sector group by column data i want to display in label or panel control.

How to do that ? how to write the logic?



Regards, Mansoor

In Sharepoint 2007 while creating a group "Give Group Permission to this Site" section is missing

I have a strange anamoly in Sharepoint 2007 but I am guessing I am missing some minor step since I am new to Sharepoint. I am trying to create a new group which I have done before successfully. 1.On the home page of the site,  I click Site Actions, point to Site Settings, and then click People and Groups. 2.On the New menu, I click New Group. 3.Type a name for the group, and then type a brief description of the group's attributes in About Me. 4.I change the owner of the group or click Browse to find an individual's account name. 5.In the Group Settings section, I click the options to specify who can see the members of this group and who can add or remove members. 6.In the Membership Requests section, I click the options (No, No) and no email address entered Here is the problem part: I am supposed to see  the "Give Group Permission to this Site section"  but I see only Create and Cancel buttons.   Can you please help why I do not see  "Give Group Permission to this Site section". Is there another way to assign group permission?

Display the list column values along with the search result

Hi All, i created custom Scope (to search on specific list) and i need to display all list columns on my search results.  Say i have 2 columns in the list and i have created a scope to search in only in that list. If i do a search in tat scope i would like to get the list values which fits in the search along with the columns as well. thanks jayaraja

Limiting Search Scopes to Articles, .docs, .xls, etc.

We have a customized site with a number of workarounds, which has necessitated using multiple pages to display data. EG, a contributor might use an "AnnouncementUPLOAD.aspx" page to add data displayed through a Web Part on "Announcement.aspx". I know I can Security Trim at the page and DocLib levels which would carry over into what's revealed by Search, but I'm curious if I can handle this through Scopes. So, if I ran a search for "George Washington", I'd want to return: items in DocLibs (ie Office Documents) items from Announcements, but NOT the full Announcement List. (ie not the http://.../pages/Announcement.aspx page, but the http://.../lists/Announcement.aspx page.) Doable? Thanks!

Search Results Customization - Display Document LibraryTitle Instead of Document Metadata Title

I am running a pretty basic SharePoint 2010 setup that is being used as an intranet for my organization.  This also includes service up internal documents to our users.  Currently, our documents are displayed on various pages using the CQWP and are organized by title as dictated by the document library title.  As part of the search capabilities of this site, I have implemented a basic search page to return results on the documents from this list.  The problem I am running into is that the search results are displaying results based on the metadata title of the actual document instead of the assigned document library title. My questions are this: How do I change the search results so they display based on the document library title? How do I view what columns are currently being crawled by the search capabilities? Thanks in advance for any help you might be able to provide!

FASTSearchQueryException encountered when creating FAST Search query scopes in PowerShell

Hi, I made an update to an existing FAST Search query scopes. The updates are on the ExtendedSearchFilter parameter. Since the Set-SPEnterpriseSearchQueryScope PowerShell cmdlet does not work to update the parameter, I removed the existing scopes using Remove-SPEnterpriseSearchQueryScope and created new scopes using the New-SPEnterpriseSearchQueryScope cmdlets. I have noticed that after creating the scopes, I sometimes encounter the "The search request was unable to execute on FAST Search Server" (FASTSearchQueryException) when executing query against the search scope. I am not sure if the exception is related to how the scope objects are disposed after running the Remove-SPEnterpriseSearchQueryScope cmdlet. I tried to look into the Event logs of the FAST search server but I was not able to see the error. I would like to ask the community if the exception can be attributed to the exsiting scopes that were removed then recreated.  Thanks. Jo-an  

Display Managed Metadata with Custom Search

Hello everyone, I made a custom Search page in VS 2010 and exported it to Sharepoint Foundation with Search Server. I want to use it to search for custom folders i have created which have a metadata field, a descriptive text. I have created a managed property and mapped it to the metadata of the folder content type. Also, the metadata shows up in the library view. Now, when i want the Metadata to show up in the results page of my search, i get "Field of property with name mappedfieldname wasnt found in the selected data source" error. when i pick a field like title instead, it works. but with a vast number of other fields i get the same error, like filename or filetype. i tried this on three servers, one of them with sharepoint server on it, everytime getting the same error. i did crawls everytime, i created the managed property, mapped it, i dont know what the problem is. help would be greatly appreciated.   Edit: i use datagrid to display the results,         i can also use the managed property in the search query; like filename:"1.txt", but i cant display the very same property in the result grid.

how do I search record from database and display that in Datagridview.

hi,I am working in windows application.I wanted to search record while entering into textbox and respective data should be displayed in datagridview..

How do I dynamically change and display the group of controls/content in wpf

The requirement for me is, based on some condition I need to show different group of controls on the screen. Gow do I achive this?

Display this site on the top link bar of the parent site, programmatically

Hi, Using the GUI to create a subsite you can configure ‘Display this site on the top link bar of the parent site’. How to do the same thing programmatically? PS. Can anyone confirm that the default behavior regarding this has changed from MOSS 2007 (true) to SP 2010 (false)?

Use centrally defined search scopes in departmental site collections?


I have SSE 2010 installed and functioning.  Seven "shared" scopes have been defined and show as having the expected number of items.   In my departmental web apps I have created Advanced Search and results pages so the users do not have to leave their own web app to do searches across those defined scopes.  Unfortunately the only way I found to make those scopes available in their Advanced Search web part was to "copy" the shared scopes (they display in an "unused scopes" group with no options for use).   The copy allows me to specify that the scope should appear in the Advanced Search web part and/or in the search box dropdown.   Is there anyway to use those "unused" shared scopes without creating a complete copy set of them in every site collection?   Thanks for any assistance you can provide!

how to remove "This Site" from search dropdown box

how to remove "This Site" from search dropdown box

I'm running moss 2007

MOSS 2010: how to move the "Search this site..." box to above the Nav Bar instead of on it

Am a novice, but can get around Sharepoint Designer. In MOSS 2010, how do I move the "Search this site..." box to above the Nav Bar instead of on it?

creating search scopes in Shared Service Provider


In Shared Service Provider when click on search setting I got error like :"An indexer is not assigned to the Shared Services Provider 'SharedServices2' " .can any one help me out for develop the seearch scopes. and what need to do remove the error.

Group Parent-Child attributes with same display value


Hi all, I am very new to SSAS and have a question that I can't seem to answer anywhere

I may want to implement a parent-child attribute (depending on limitations). If I have the following hierarchical structure




Cost Centre




imagebutton shows "submit query" before image display


hi guys,

i have imagebutton's on a page with width/height's set and the imageurl pulls from a database

anyway theres 20'ish images on the same page so it takes a second or 2 for the images to load, unfortunately with the imagebutton, while it's in that limbo stage there's 20 big ugly grey SUBMIT QUERY textboxes in my face.


anyone know how to wkraround this? some sort of default already loaded image, or somehow to turn that off altogether? 

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend