.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

Is there a way to get search result items to reflect the discussion they came from, not just the rep

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint

What I'd like to do is somehow affect MOSS search such that when it finds relevant items that come from replies to a discussion, it references the original discussion itself, rather than the reply?


Thanks in advance


View Complete Post

More Related Resource Links

how to exclude folders(and items within this folder) under document library in search result?

I have a library with a particular content type. I also have a folder _thumbs within it. I do not want the search to retrieve the items that are within this folder (or the folder for that matter). Any ideas on how this can be achieved?
Sharepoint Dummy

Active Directory and .NET: paging the search result

Hi everybody!

I have a question about Active Directory in .NET
For my project I need to fetch results from Active Directory search page by page, because later I would need to bind it to the pageable DataGrid.

I tried to use .NET library DirectoryServices for that, but paging provided by this library is transparent to the user and is used only to increase the efficiency of searching, when results are too big. I.e. I cannot tell the DirectorySearcher to give me first page, then the next or previous page, it returns me all resulting pages in one bundle.

However, what I need is to explicitely get page after page directly from the AD searcher and to be able to go at least one page forward or backward.

The solution with copying all results to the DataBase and then do the paging is not accepeted by the clent, since it is too inefficient. And since it's a Web app, I cannot keep results in memory either.

I found some hints about COM Interface, but I could not find good and detailed examples or explanations. I aslo found this line of code: DirectoryServices.Interop.IDirectorySearch.ExecuteSearch(), but I don't know which libraries should i add to be able to compile this code.

If somebody could help me out with that problem, any suggestion is welcome, 'cause this issue is eating me alive :)

Thank you!

How to filter the search result based on a column value?

I do have search scope scoped at a list which contains attachment. I will use this scope to search (full text search) on this list then I need to filter the result based on a column which is in the same list. How do I do that? Thank you.

Search result show unauthorized Files Share


Hi All,

I configured a FileShare content source, the crawl about this source works very fine, but when a end user perform a search on it ,he can show into the search result files that are no access on the file server, but when he click on it of  course he received an access is denied.

How I can filter the search result about FileShare content source to see only files with authorized access?

Thank you for your help,





Pass the server variable to search core result web part


I'd like to custom the search core result web part to filter results based on the log on user name.

It can easily be done in Dataview web part.

However the search core web part doesn't accept "<parameterbining>" to pass in the server variable [logon_user]. I can't figure out how to use <xsl:param> to get this server variable either.


Any ideas? Thanks a lot!

If you get confused, listen to the music play...

Sharepoint Search Result Editing

Hi  guys, I have a problem in sharepoint 2010.i.e.i have configured search when i search for something the result will coming with Document name and some (more than 5 lines)description auther name ,date ,Size. I want to remove description under the document.I need only Document name with author ,size and date. Can any one help me... Solution mustbe appriciated.......... thanks prasad  

SharePoint 2010 Search Service Application: "All Content" scope contains 0 items?

I've encountered a nasty bug in our setup. Our Search Service Application manages to crawl all content just fine. However, the scopes don't work. We've got a total of 570 items currently in our crawl database. 350 of these are of class 'People', and appear in the 'People' scope. The remaining 220 items should appear in 'All Content' as part of the intra (sites, documents etc), however the 'All Content' scope reports 0 items. I've tried the following: -Creating custom scopes (still 0 items) -Recreating the Search Service Application twice -Tried different accounts as the content access account. -Ensuring that the content access accounts do have 'full read policy' -Checked the crawl log for successful content (such as sites and documents). However, despite my efforts I still get 0 items for 'All Content'.  Has anyone else encountered this problem, or do you have any recommendation for us? Currently I don't see any other option than to reinstall everything.

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

Full Text Search Return no Result while "Like" does

Someone pls look at the picture and help me I tried Restart the serviceI tried restart the server But the number of row affected is still zero :(

BDC Picker only displays 200 items and the filter "search" does not filter or search!

What’s wrong? It doesn’t work like the people picker of filter by first few entries. The picker just seems to display the first 200 results in the database table but does acknowledge that there is more data! I am using the specific finder method - having created the Application Definition File using BDC MetaMan. Many thanks to anyone that can help. If you need further information to get more of an understanding - please do not hesitate to ask :-)

Added New property to my sites & indexed those property but they are not showing in search result

Sorry I am new to sharepoint, I have Added New property to my sites (in user profile service)& indexed those property but they are not showing in search result. Should I do any additional steps to Search this property? Thank you in advance

How can I open search result in a new window?

Hi there, Is it possible to open a search result in a new window? If yes then how? Thanks in advance.  allan

SharePoint 2010 Search Crawler excluding items

Hi All I'm trying to setup the Search functionality in SharePoint Server 2010, but I'm having trouble getting it working. I have set up a crawler for the site with a user that has Full Read permissions to everything. I also set up a crawl rule for the site including all items in the path with the "Follow links on the URL without crawl itself" option checked. The crawler runs across the entire Site Collection and sub-sites, but I keep seeing warnings that content was excluded and the search can return no results. The error message I keep seeing is "The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl." I have looked for a no-index meta-tag, and have been unable to find it anywhere. I have also done searching on this issue, and set site settings to Always index all WebParts and to Appear in Search Results. Neither of those settings appear to have helped.   Does anyone know what I am doing wrong, or know of good documentation that could point me in the right direction? Thanks

How can I get Result Search with Paging in DataList Control

 I have Database called mygroup , and I have three tables *  Cataloges table .. columns (CatalogeId  int,   CatalogeName nvarchar) *  Brand table  .. columns (BrandId  int,   BrandName nvarchar) *  Products table, it is consists of these columns : ProductId   int ProductNO  nvarchar CatalogeId  int BrandId   int MainSpecification  nvarchar DetailsSpecification  ntext Image  imageand I want to desgin form for products, and this form contain these ToolBox *   DropDownList  for CatalogeId *   DropDownList for BrandId *   DataList Control for displaying the Result Search *  Button   When the user visit Product Page for Example (productpage.aspx),  then he see the two DropDownList , then choose one of Cataloge Name (Laptop , Printer, ....) , and choose one of the Brand Name (Sony, Toshiba, ....) , then Click the Button, and get the  Result Search in Paging DataList 

Date format in Search Core Result web part

Hi, I have two Site Columns PublishedDate and GlobalTitle. They have datetime and string type. These site columns are added to the Custom List. I need to show these columns in Search Core Result web part when item is searched. Because of this reason I created them as Site columns and Mapped with crawl property in SSP. After doing full crawl I can access both site columns in Search core Result. GlobalTitle is displayed properly but problem is with PublishedDate. It shows System.DateTime[] only. Can any one help me to show this in any of the date format but not like System.DateTime[]. Many Thanks in advance Chirantan

Unknown error (0x8000500c) as directoryEntry but no problem as search result



I'm reading values from open LDAP and get the folowing error;

{System.Runtime.InteropServices.COMException (0x8000500C): Unknown error (0x8000500c)
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at com.baml.gmrt.ges.mockAims.DAL.UsersDAL.getUser(String ldapPath) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\DAL\UsersDAL.cs:line 209
   at MocGui.UI.EPX_manageUser.loadUserByPath(String thisPath) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\MocGui\UI\EPX_ManageUser.aspx.cs:line 36
   at MocGui.UI.EPX_manageUser.Page_Load(Object sender, EventArgs e) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\MocGui\UI\EPX_ManageUser.aspx.cs:line 23
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.

Search Core Result Web Part

Is it possible to render search results in "Search Core Result" web part with result getting from code accessing Search API rather than using the result set from OOTB?

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