Trailblazer's Sharepoint Blog

SharePoint Solution Architect | SharePoint 2010, MOSS |

SharePoint 2010 | Powershell | Download all files in document library to Network Share (File share)

I was recently working on a client requirement to download all the content of a list/document...

Author: Varun Malhotra Date: 02/08/2012

SharePoint 2010 | Get Solution File Name from Feature activated

I was working on a custom solution with a client. This project has a high level of custom auditing,...

Author: Varun Malhotra Date: 01/30/2012

SharePoint 2010 | Correct SharePoint behavior | "SharePoint displays users as DomainUsername instead of Display Name"

I have seen this behaviour a number of times in our client enviornments when some of your AD...

Author: Varun Malhotra Date: 01/30/2012

SharePoint 2010 | Clear SharePoint Cache

SharePoint caches the content (Could be images, etc.) in two of its system folders. The cache is...

Author: Varun Malhotra Date: 01/28/2012

FAST Search 2010 | Query on Out of the box ContentType Managed Property doesn't return results

I was recently working with a customer on FAST Serach Querying and they were using custom search to...

Author: Varun Malhotra Date: 01/22/2012

SharePoint 2010 | Copy text to clipboard

I was recently working on a web part which had to copy the data in the datagrid to clip board....

Author: Varun Malhotra Date: 01/21/2012

Achievements in Visual Studio 2010

What if Visual Studio supported achievements, just like games on Steam, Xbox or PS3? Bragging to...

Author: Varun Malhotra Date: 01/19/2012

Search Center | List of site and site collections | SharePoint 2010

I found an easy way to get the list of Sites and site collections just by using search. (No Code or...

Author: Varun Malhotra Date: 01/18/2012

Visual Studio 2011 & SharePoint 2010

Just got my hands on Visual Studio 2011 Developer preview and it looks damn good. The SharePoint...

Author: Varun Malhotra Date: 01/17/2012

SharePoint 2010 | AD Account gets locked down

I must say that SharePoint 2010 has been absolutely awesome in integrating all my office client...

Author: Varun Malhotra Date: 01/16/2012

Content Type Hub | Duplicate Content Type Error "A content type with the name already exists"

Content types are one of the best things to happen for SharePoint as they allow better...

Author: Varun Malhotra Date: 01/16/2012

Can't access a list on an Anonymous site - SharePoint 2010

I was recently hounded by a client's strange issue. The client had a Publishing Site which was...

Author: Varun Malhotra Date: 01/12/2012

Remove, Save and Restore - Remote PowerShell Sessions in SharePoint 2010

I have been working with Remote Powershell and it is amazing to use this. Just imagine I dont need...

Author: Varun Malhotra Date: 06/09/2010

Configure Remote PowerShell in SharePoint 2010

I was working on a requirement to run a SP 2010 powershell script from a remote machine on network....

Author: Varun Malhotra Date: 06/09/2010

SPS 2003 : Custom error page for a status 404 error

I was recently working on SPS 2003 issue where we wanted to redirect the user to a custom error...

Author: Varun Malhotra Date: 05/13/2010

MOSS 2007 : Get Last Accessed date for a site

I had a recent requirement to find out the last accessed date of the sites in the web applications...

Author: Varun Malhotra Date: 05/11/2010

MOSS: Event Log error when you have Ajax User Controls in Control Templates

I was recently working with Ajax controls in SharePoint. I created some ascx user controls and added...

Author: Varun Malhotra Date: 04/13/2010

MOSS: How to prevent a single text on a page to come in search results?

I was recently working on a requirement, somewhat weird (As developers would say) but made a lot of...

Author: Varun Malhotra Date: 02/05/2010

How to: Add 32 bit machine to a 64 bit MOSS farm - Best Practices

I was recently working with a client who wanted to develop Workflows using VS 2008 on a 64 bit...

Author: Varun Malhotra Date: 01/25/2010

SP2010: SPMetal Doesn't work for external lists + Possible workaround

As we know SP 2010 has introduced a way where we will now be able to implement OOPS principles for...

Author: Varun Malhotra Date: 01/20/2010

MOSS - Editting items of a List with Custom Fields crash after installing SP2 or Feb CU 2008 onwards

I recently was working on a issue where customer had recently installed Feb CU 2008 and his lists...

Author: Varun Malhotra Date: 01/18/2010

How to get Search Query API calls to be logged in search usage analysis reports

I was recently working on a customer requirement to log Search Query API calls. OOB this is easy to...

Author: Varun Malhotra Date: 12/30/2009

After Properties go blank in ItemUpdated event for Office 2007 Documents..

Event Handlers in MOSS have come a long way since their inception in SharePoint 2003. In MOSS, event...

Author: Varun Malhotra Date: 12/30/2009

Windows Powershell ISE

I was recently working on a PowerShell issue and found a new Graphical editor for developing...

Author: Varun Malhotra Date: 12/30/2009

Fragment Caching for user controls doesn’t work in SharePoint if using SPD.

I recently had a strange requirement or should I say an issue where the client had created a user...

Author: Varun Malhotra Date: 12/30/2009

SP 2010 - Sandbox Solutions - Mysterious but truly awesome

So SP 2010 is out and we have finally got hold of the new version of SharePoint. Among the new...

Author: Varun Malhotra Date: 12/30/2009

Define custom new/edit/display forms for Content Types

Recently, I got a requirement to define custom pages for a content type item. What am I talking...

Author: Varun Malhotra Date: 06/05/2009

BDC User Permission List ---- Add users from API

Recently I came across an interesting request from my customer, who wanted to add users to the “BDC...

Author: Varun Malhotra Date: 06/04/2009

Virtual Earth in SharePoint

I recently was working on a very cool requirement where customer wanted to implement virtual earth...

Author: Varun Malhotra Date: 05/25/2009

Reusing SPSchedulePicker Control

SchedulePicker Class (in the Microsoft.SharePoint.WebControls namespace) is very handy when it comes...

Author: Varun Malhotra Date: 05/25/2009

How to - Increase timeout value of a SharePoint workflow

I was recently working on an issue where customer had a workflow which used to fail and error out...

Author: Varun Malhotra Date: 05/25/2009

Modify a date-time value field in Event Handlers – Through AfterProperties

Recently I had a requirement from my customer where it was required to update a date time field...

Author: Varun Malhotra Date: 05/25/2009

Application Definition Designer – New Name for BDC Editor Tool

I recently downloaded the new SharePoint SDK – 1.5 (April 2009 version) and found that the BDC...

Author: Varun Malhotra Date: 05/06/2009

Page Editing Toolbar - Problem with submit for approval node in the quick access

You need to customize the CustomQuickAccess.xml to achieve the functionality. Curiously, the...

Author: Varun Malhotra Date: 04/06/2009

Save files from SharePoint document library to File System

Normally you would get requirements for uploading documents to the document library, but you would...

Author: Varun Malhotra Date: 12/14/2008

Delete items of SharePoint recycle bin efficiently using - SPRecycleBinQuery

Recently I had a strange query from one of my clients. The client had the OOB SharePoint recycle...

Author: Varun Malhotra Date: 11/27/2008

How to get users under a subsite/area in WSS 2.0/SPS 2003?

Although it seems a very basic question, but I thought of blogging this as it is not as easy as it...

Author: Varun Malhotra Date: 11/27/2008

SPWebApplication.Delete – Deletes Web Application – Myth Busted!!

If someone asks you, how to delete a WebApplication from the code API, the simple answer is to use –...

Author: Varun Malhotra Date: 10/21/2008

Add users of an AD Group to the SharePoint Site

Recently, I had a requirement from my Customer which required to add an AD groups’s user to the...

Author: Varun Malhotra Date: 09/29/2008

How to use Role Definitions across Multiple Language MOSS Versions - Clean Approach

The problem with Multi-Language MOSS is that the name of the Role Definition is localized hence if...

Author: Varun Malhotra Date: 08/20/2008

MOSS Search with Order by Clause – Doesn’t return all results

I had a very strange issue recently for the SharePoint Search queries. I had a very simple...

Author: Varun Malhotra Date: 08/15/2008

Common Errors in BDC with Web Services

As a SharePoint developer, I feel one of the highlights of MOSS has been – BDC (Business Data...

Author: Varun Malhotra Date: 08/10/2008

How to update 'tp_title' field of the UserInfo table of the SharePoint's Content Database from the OM code?

Last week, I got this fascinating requirement. The requirement was to update the 'tp_title' field of...

Author: Varun Malhotra Date: 07/25/2008

Why does RunwithElevatedPriviliges not work in Event Handlers?

In SharePoint one of the most used methods is - "RunWithElevatedPriviliges". The common...

Author: Varun Malhotra Date: 07/21/2008

Workflow with a long processing time stopping abruptly with the message - "Failed on Start (Retrying)"

Recently I was working on a SharePoint Workflow issue. The workflow had just two activities in it -...

Author: Varun Malhotra Date: 07/09/2008

SharePoint's strange behavior rattles me!!

Now you must be thinking, how can a SharePoint hardcore developer say something like this? But guys...

Author: Varun Malhotra Date: 07/01/2008

How to filter a SharePoint List based on the Log In user’s properties (E.g. Department, etc.)

The best part of the problem was that the customer wanted to restrict (And not filter) the user to...

Author: Varun Malhotra Date: 06/24/2008

How to set the default value for a look-up field, for an item as it is being created?

Actually, it may seem to be a very simple task to achieve. Just go to the specific list in the site...

Author: Varun Malhotra Date: 06/18/2008

Add files to the SpFileCollection and update the time of creation WITHOUT creating a new version.

The normal solution for this would be to add the file into the file collection using the appropriate...

Author: Varun Malhotra Date: 06/18/2008

My First Post – SharePoint Customization to a new level

So finally I have got hooked to the blogs phenomena and have decided to join the "Blog Bandwagon"....

Author: Varun Malhotra Date: 06/14/2008

Next>