Search on Last Modified By field in Sharepoint not working by default

Hi,

 

Of late I have been working in Sharepoint project which works extensively on searching of data. We have implemented our own custom search page and use Sharepoint object model for searching the data.

 

Yesterday I found a unique bug in Sharepoint. While search for data based on different specific columns (mapped in Metadata property mapping), the search never fetched result when I made a search on the Last modified by field. I had updated all of the documents multiple times and also crawled the records properly after updating the data. But this did not solved the problem.

 

Continued...

Adding and removing user from Sharepoint causes incremental crawl to take a long time

Hi,

 

In the last week, I had a few bad days with Sharepoint Incremental crawl. Would Like to share the problem and reason of the problem with you all.

 

We have a Sharepoint application, which contains a huge amount of data. The main functionality of the application is to search the data, with the help of the custom search page. The availability of data is very important and it’s a must that data added, updated should be available must be available within 2 minutes of update.

 

Continued...

Microsoft releases Final CTP of the Visual Studio Extension for Sharepoint

Hi

 

Microsoft has released the last and final version of CTP for the Visual studio Extension for Visual Studio 2008. you can hear more about the release here

 

http://blogs.msdn.com/pandrew/archive/2009/03/19/visual-studio-2008-extensions-for-sharepoint-vsewss-1-3-addresses-all-common-sharepoint-developer-requests.aspx

 

Continued...

Programmatically starting and incremental crawl in Sharepoint SSP

Hi,

 

When working is Sharepoint we have to work with Sharepoint search. Search point search works with indexed data. The data is indexed with the help of the Sharepoint crawl. For crawling purpose, we normally make one full crawl and after that incremental crawl at different interval based on the requirement.

 

Continued...

Creating a generic Console application to remove event handler to any Sharepoint list

Hi,

 

As described in my earlier Post, many a time developer needs to add the event handler to list for which I shared a console application. The same way many a times we need to remove the event handler form the list. To do this I have created another console application which is available as download here.

 

The console application does the work of removing the event handler to the list. As before the console application needs 5 different values from the appsettings section of the configuration file.

 

Continued...

Creating a generic Console application to add event handler to any Sharepoint list

Hi,

 

Continued...

Using event handler in Sharepoint to make any column unique

Hi,

 

Many a times in a Sharepoint list we want to have one of the columns to act as a unique column. But there is no easy way to do it.

 

There are a couple of ways to make this happen,

Continued...

Running Commands with Elevated Privileges in Windows Sharepoint Services 3.0

Hi,

 

Few days back while coding for a webpart in a Sharepoint site, I had to check the roles of all the groups the user was linked to. The code to do it seems to be very simple.

Continued...

Sharepoint Getting SPWeb object in Itemdeleting event through properties

Hi,

 

A few days ago I was working with Item deleting event in the share point. I had to update some of the referenced items in the other records in the same list when an item was being deleted.

 

Continued...

Working on Attachment object SPFile in a share point list

Hi,

While working with share point, many a times, when you are working with list item you have attachments with the list item. Many a times you want to programmatically access these attachment files (as SPFile objects). The SPListItem also exposes a collection of all the Attachments with the help of the property Attachments. But this list is nothing but a collection of string containing the filename of the Attachment.

To get to work with the actual SPFile object for each attachment, this will not help much. There are two way to get the SPFile object for the attachments.

SPFolder folder = web.Folders["Lists"].SubFolders[list.Title].SubFolders["Attachments"].SubFolders[listitem.ID.ToString()];

Continued...

SharePoint Permission problem when programming Object model with trust level WSS_Minimal

Hi,

 

Last few days I was playing with SharePoint server 2007 and programming with it. All I was trying to do was add a list item in a simple list created in the SharePoint through a web part. The code to do the job was simple enough.

Continued...
 
Copyright © 2006 - 2010 Vikram Lakhotia