.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

Custom advanced search form

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :SharePoint
Hi all, I've got some requirement which related with the advanced search form. I'll need to make a tree view which listed the site subsites and document library inside each site. For example:  sites A       DocLib 1       DocLib 2       subsites B              DocLib 3              DocLib 4       subsites C              DocLib 5              DocLib 6 Also I want to make the node which is selected as the scope for search. Is there any body can give a clue or pointer how I can make this? Any insight is appreciated.. Thank you Best regards, -- Pingkan --

View Complete Post

More Related Resource Links

Custom Advanced Search to search in 1 scope only

I have a custom searchpage, search result, advanced search page and custom scope that configured in SSP. I can set the advanced search to redirect to my custom search result but the result is not from the custom scope (from "All Sites" scope). How do i configure it so that it will search from the custom scope via custom advanced search?

Custom Properties in Advanced Search Web Part - a bug??



we are trying to configure the advanced search web part and add some custom properties. Those properties are of type managed metadata.

We saw the following sample:


When try to use the web part, for example by add the property "product" and then search "when [product]="valueA",

we get not only results where the item has a property "product=valueA",

but also any item where in its body (full text) there is "valueA".

This behavior doesn't occur when searching non-custom property (for example "author=keren").

Is that a bug or are we missing something in the customization?

thanks a lot!



keren tsur

Advanced Search does not show items from Custom List- why?



I have search working in general for site. However, when I run it only picks up files - not list items. Even List search in top right comes up with blank results.  

I read somewhere that this is switched off due to size of search results.

Can someone tell me how to include List Items in search?



Custom Advanced Search


Does anyone know of a way to debug Custom Advanced Search Webparts like these below? Our search doesn't seem to do anything and I can't figure out a way to debug it since we are using imbedded HTML inside C#.

Our code is like this this snippet:


"<div><table><tr><td width='133'></br></br></br> </td></tr></table></div>"



"<div><table cellpadding='

Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

Search Server Gatherer - Custom hierarchical protocol handler ISearchProtocol for MOSS 2010



Search server gatherer calls CloseAccessor() and shutdown() on ISearchProtocol after GetChunk() even if the FILTER_E_END_OF_CHUNKS is not returned. After calling shutdown() it stops calling the createaccessor() with new URL. I want to create a hierarchical indexing but I am not gatherer is not suporting this. The same piece of code is working fine in MOSS 2007, I am facing this issue in MOSS 2010 only. Is there anything changed in MOSS 2010 which is creating this issue?



Advanced Search page no found



Currently when a user attempts to conduct an advance search they recieve a page not found message. When I tried to conduct a search myself I was able to enter in my search term, but the search results came up as page not found. On closer inpection I noticed that it is droping part of the URL.


http://sitesp.ca/sites/PETL-EPFT/searchcenter/Pages/Advanced.aspx becomes http://sitesp.ca/sites/PETL/searchcenter/Pages/Advanced.aspx

Has anyone seen this before? Any help would be greatly appreaciated.


QueryEx (Search) results and Custom Page Index


Hi All,

I done a web part which allow the user to query the search.asmx. It return the result fine against which I apply some xslt. However I need a mean to create a Page index. I only return the result based on a range defined in the query.

I need somehow to obtain the number of result the search is returning in total against what I only want to display on the screen.

The only way I sort of figure to do that is by first make a search just to obtain the number of result it will return in total and then make a search defining a range.

Has someone done something similar?


Custom Search issue with freetext


Hi All,

My Environment : MOSS 2007 (sp2) with SQL Server 2005

I have a custom search webpart which uses FullTextSqlQuery to fetch the results from Index. I have a some keywords and a free text boxt to build the search query. Poeple enter their query by selecting the keywords and enter some free text into the text box.

Issue : When any PDF document (Not tested with .Doc) is searched using custom webpart with the numbers like "2,0233.21" I do not get any results returned even though the results are returned using the SharePoint out of box full text search. But when I search the content like "2+0233+21" I get results both in Out of box and in custom search webpart.

Requirement: The Custom search should be able to find the document when numbers like "2,0233.21" are entered. It should work exactly like the out of box search.

Thanks in advance for your suggestions.



Update web form using custom events.


How can I update UI of web form via event?

I have 2 buttons on page, where button1.visible = false.

Page code behind:

     protected void Page_Load(object sender, EventArgs e)
            if (!this.IsPostBack)
                Class1.ShowButtonEvent += new Class1.ShowButton(Show);

Chapter 6: Advanced Custom Web Parts (Professional Microsoft SharePoint 2007 Development Using Silve

This chapter builds on the Web Parts created in the previous chapter, adding more advanced features.

Video: Creating Custom Ranking Models in SharePoint 2010 Search

In SharePoint search you can tune the weighting that search uses for the results and create custom ranking models to return the results the user is expecting. (Length: 2:28)

DateTime custom managed property search fails with " Your query is malformed. Please rephrase your q

I've created a front end search page in Silverlight 4 for SharePoint Search.  Currently we are using WSS 3.0 + Search Server Express 2008 (v  The page interacts with the MOSS version of the search web service at:   <site collection>/_vti_bin/search.asmx The reason for this approach is the unique way the requirements specify the look and behavior of the results.  The built-in Search Center page or web parts will not satisfy these requirements. We are going into production but I still cannot figure out how to search against my custom managed properties that are of Type DateTime.  If I cannot get this to work, it is a showstopper. I've tried numerous variations on the SQL Syntax and cannot get it to work.  I know the error is in the date portion of the WHERE clause since I can remove it and searches work fine. Here is a working query: SELECT Size, Rank, Path, Title, Description, Write, RequestSubmittedDate, DocumentType, RequestPromisedDate, ProblemDescription, DatePublished, RequestOwner, RequestingDepartment, DocumentAuthor, ProjectNumber, ProjectDescription, RequestStatus FROM scope() WHERE CONTAINS ('"nmr"') ORDER BY "Rank" DESC yet if I try to use a date literal in the WHERE clause as in the following query modification, I get the "malformed"

Advanced People Search

Hi All, I'm having a problem with the Advanced People seach webpart, one of the fields under 'Search Options' is Memberships. I have updated it inline with this article http://support.microsoft.com/kb/935196, which now brings back results when searching by using a distribution list name, but I'm still getting no results when searching by a Site Name (as displayed under in the "Memberships" webpart on a mysite) Also is there a way to change the word "Memberships" in the webpart, to something like "Site Memberships"

create new custom list form in sharepoint designer and edit in browser

hi, i have created a new list using sharepoint designer 2007. now i inserted a custom list form to modify some field and add new ones. when i finished i will tight my new custom list to the custom form. what i want to know is. i see the status field in my new form. and i only want the status field to appear in the edit form for the one that has the permission to edit the status. then i tought of open the list in my browser and go to the list settings. but what i notice is i dont see my fields i have modified in sharepiont designer in the columns section i only see the ones from the existing list. my question is how can i hide the status field in the new item form that it only show in the edit form. and how do i get my new form in the column section so the end user can add more fields if they want without using sharepointdesigner thnx

How to form xsl for search results

Hello All I am having one content type which was used for page and in that having one site column with type of Choice (check box list with multiple selection) so using that user can select multiple items of that field on the edit mode of page. I have implemented search on that column. I display results in customized format using xsl. I display all the other fields with single line text as below and getting proper data in search result. <xsl:value-of select="@Hospital"/> but i its choice type then it displays like below and do not give the actual item seleted on the page. System.string[] Can anybody tell me how to form an xsl to display such fields so that i can get value as below . value1,value2..   Thanks & Regards Mrugank Dholakia

BCS Custom Search Connector Concurrency

I wrote a custom search connector (.NET assembly) so that external ECM repositories can be indexed using either search service application (sharepoint or FAST).  However, the indexer process only calls my code one request at a time which isn't going to be fast enough in most cases.  I tried setting up a crawl impact rule, but still only a single request at a time.  If I change the impact rule to slow the crawl down, it works.  If I set the impact rule to handle 8 concurrent requests, it ignores it. Anybody have an idea on how I can get it to call my connector concurrently?Dan Hunsinger
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