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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

change search results page According to custom setting page

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
 
I want to create user settings page will be able to choose which will  search results display page x or page y Settings will be saved somewhere. When the user searches on sharepoint search page will display to the user  the page that he select in the search page settings page x or  page y   my questions : 1. Is it necessary to treat the user profile - If so how? 2. how results can be directed to the search results page after a user choose Specific page? 3. where save the settings from custom settings page  ?


View Complete Post


More Related Resource Links

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?

Seve


How can I add custom Search Paging webpart in the Search results page in MOSS 2007

  

I have created a Basic webpart page and added Content editor webpart to extend the functionality of Advanced Search webpart. This is working fine. Also added OOB Search Paging webpart int his page. But when the number of items returned by the Search Core results webpart exceeds the Page size (10) then when I click on the next link in the Paging webpart then all results are lost and retrieved from All Sites scope. Is there any way to hook into the Search paging webpart.?

Please note that in the Content Editor webpart I have used custom search scope.

I need help with regard to this.

Thanks in advance!.


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?

Seve


Customizing Search Results page in MOSS

  

Hello!

The Search Results page in MOSS seems to list the results as links by default. My customer asked me if I could customize the search results so that they show in a data view web part. Is this possible?

Thanks!

T


QueryEX 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?

Seve


Search results page showing random characters instead of item's description

  
I have an email-enabled document library that a few Japanese people email PDF files into (all external to the company). When I search for any PDF file sent from particular email addresses, the search results page displays random characters instead of the item's description. Here is an example: From Screen shots These characters don't appear for all email senders, just some of them. Our MOSS site is in English and we don't have any language packs installed. The PDF file contents are also in English. Can anyone point me towards a solution for this?

Internal server error exception on search results page when no language is set in browser

  
We have some users who receive an internal server error exception when they enter a search query on our SPS 2010 site. The SharePoint log shows the following: Internal server error exception: System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() After some more diggin

Search results page

  
Hi all, I have a custom search web part that builds a query and redirects the query to the results page. As I want to make this search web part generic, I need to find out about which results page to use programmatically (as this can be customized by the user). Is this possible?   Steph Kaiser

Setting custom master-page.

  

How can I set a custom master-page to a site or site-collection? There should be a link in site actions>site settings>look and feel called "master page" but Im not seeing it. Where is that exactly?

-J


I need to pass a variable from a url to an .aspx search/results page

  

When I was using FrontPage, a .asp page would receive a varialbe from the url when ?field=value was added to the end of the url.  I am now using Expression Web and have found that this doesn't work with .aspx pages.  Can anyone tell me what code needs to be added to the page to accomplish this with .aspx?  I create the .aspx page with VB as the coding selection.

I am not sure what forum this should be in.

 

thanks,

Eleanor V


Advanced Search doesn't page results 1, 2, 3, 4, 5 Next >

  

The Advanced Search does return results for my searches, it is located at http://mosslab01/SearchCenter/Pages/Advanced.aspx, when I click search I am taken to the results page: http://mosslab01/_layouts/osssearchresults.aspx

it says Results 1-10 of about 443,904. Your search took 1.05 seconds.  

However, I don't see any parameters in the URL regarding my search keywords, and the paging just appends '?start1=11', '?start1=21', '?start1=31', '?start1=41', when I click 2, 3, 4, 5, respectively, hence the newly formed URL looks like this http://mosslab01/_layouts/osssearchresults.aspx?start1=11 and the page displayed is blank in the search results area.

Previously the results page was set to http://mosslab01/SearchCenter/Pages/results.aspx but whenever a search using "This Site: Site01" was performed no result was returned

 

 

 


WSS 3.0 - How can I get a document ID in Search Results.aspx page.

  

Hi,

Does anyone know how I can get the ID of a document in the SearchResults.aspx page?

I have got javascript code in this page to update the link of the icon to edit the document as opposed to viewing it (Need Document ID though).

There must be a way to do this using server side code??????

Your help would be most welcome.

Thanks.

John.

 


--- How to change SEARCH BOX size on a master page?-----

  

Hi everybody,

Can you please help me: where can I find a file which is responsible for the size of the Search Box on a V4.master? (I am using the Custom.master which I made out of V4.master).

I've tried to look in Search.css, coreV4.css and also I did search for SmallSearchInputBox in all files in hive 14. Couldn't find anything.

Thank you in advance!


Add "Results per Page" drop-down on Search Paging Web Part

  

I would like to offer the end user the ability to select the number of results on the search results page (10, 25, 50, 100, etc.) with a drop-down.  I've seen that Commerce Server has a search paging web part that has this feature.  Has anyone built a search paging web part for 2007 that has this feature or is there an add-on that I can purchase to do this?

I have searched the web and haven't found anything, but it sure seems like others would have wanted a feature such as this.

Thanks...Russ


Open a custom page on click of a result from Search Result screen

  

Hi,

We are in process of designing the architecture of our sharepoint application. We have a tweeky requirement.

From the default search results page, if user click on one of the result, a custom page should open which not only display the actual result text but this page should have the concatenated string of text from some other items.

For instance:

there are 2 lists:

List A with an item with text "Design: Complex hierarchy"

and List B with an item with text "Design: Hello"

If user searched "Complex" then a click on the result on search results page should open a page with this content

"Design: Complex hierarchy (tab)(tab...) Design:Hello"

Any solution or direction is welcome.

 


Search Results Page

  

1.How to enable the Advanced Search link, without creating a custom search results page?

2. In order to customize the search results page - should i create a Search Center site or may create only a page in the root portal?


keren tsur

Bad URL on search results page - sharepoint 2007

  

Hi All,

I have a strange problem.

I am using sharepoint 2007 with the infrastructure update.

I have a production sharepoint 2007 farm, and a test sharepoint 2007 farm.  Both farms are pretty much the same.  Each has two WFE's, and a database server.  There is a production database server and a test database server. They are crawling different content databases, but the test content database is a copy of the production content database.    The only difference is that the production farm has a DNS record and different AAMs to correspond to this DNS entry (farmname.company.org)

Both have the same search scopes set up, there are about 5 that point to lists, and about 5 that point to document libraries.  When I do a search within one of the document library search scopes in both prod and dev, I get back identical results, but In production, when I hover over the the document title in the results, the URL in the bottom status bar looks like this: "http://myserver/MySite//Forms/DispForm.aspx?ID=32" (note the missing document library name)
While in test the URL looks like this:
"http://myserver/MySite/MyLibrary/Forms/DispForm.aspx?ID=32" (this is correct and works.)

I don't know if this is relevant info but I recently had to rebuild the production environme

Categories: 
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