Sridhar's blog

SharePoint programming and customization.

Browse by Tags

Tagged Content List
  • Blog Post: Tracing SharePoint 2010 Service Applications

    If you are interested (as I was) to know what happens behind the scenes in a SharePoint 2010 Service Application, there’s a very neat way to do this.  I had a specific scenario where I had to understand what happens in the back-end of BCS service application I provisioned, so I’ll use that example...
  • Blog Post: Custom Service Applications in SharePoint 2010

    I had to write up an internal article on creating custom service applications and making it work with SharePoint 2010. This was not an easy joke at all and is pretty involved process. I used the sample walk-through provided in Service Application Framework Sample . This would a very good reference if...
  • Blog Post: LINQ to SharePoint 2010

    Wow! LINQ to SharePoint 2010 is awesome! You have to work with it to see how it simplifies development tasks.  I especially love the ability to see what underlying CAML that’s generated on the fly and passed to the server for execution.  With LINQ to SharePoint, I believe, we need to have our...
  • Blog Post: Setup Claims using AspNetSqlMembershipProvider

    Setting up claims using AspNetSqlMembershipProvider is very similar to this walk-through.  However, the provider information would be different and we’ll need to add an additional connection string element to specify the SQL Server and the database that will be providing us with users and roles...
  • Blog Post: HowTo: Create a quizzing application with SharePoint 2007

    With SharePoint 2007 "Survey" list template, I recently created a quizzing application. The thing with survey list is that it stack ranks the questions taking into account how many of the respondents favored each options within that question. But for a quizzing application, we need to be able to stack...
  • Blog Post: How do I use SecureString type in SharePoint 2007?

    SecureString is the type that's used for passwords in SharePoint 2007. You might find its use when you are automating some "higher level" administration operation (like creating a web application for example). How do you use it is shown below: 1: private static SecureString ConvertString( string...
  • Blog Post: Using Post Caching Substitution in SharePoint 2007 Web Parts

    There are good number of articles that explains the different caching option Microsoft Office SharePoint Server 2007 provides and ways to leverage them to achieve better site performance. However, there are scenarios where you might want to implement output caching on your site/page, but have some controls...
  • Blog Post: The buzz with "UrlQueryString" in SharePoint navigation

    SharePoint's navigation APIs have a property exposed that allows us to set query string properties for a URL. Sadly, but not surprisingly, this only works when root site collection has publishing feature enabled. Reason is simple... One a WSS only OR on a site where publishing feature is not enabled...
  • Blog Post: FBA and User Display Names in SharePoint 2007

    If you have been working with FBA for a while, you might have noticed that the user name displayed in the Welcome control shows the account name of the FBA user. This is because of the field the welcome control is mapped to. As shown here, the welcome control simply points to the name property...
  • Blog Post: Why are my SharePoint Groups drop-down disabled?

    This was an interesting issue.  The problem a customer reported was that when they wanted to add a user to a SharePoint Group, the "Add users to a SharePoint group" drop-down was disabled.  On investigation, it was found the customer was creating a web application and a site collection...
  • Blog Post: What permissions are behind the permission levels (roles) in SharePoint

    Recently, I was involved in a support request where I had to find out what SPBasePermissions are assigned behind permission level in SharePoint using SharePoint OM code. First some basics about permission level and base permissions. If you are in your SharePoint site, click Site Actions > Site...
  • Blog Post: Project to customize the small search control in SharePoint 2007

    The small search control that is rendered in the default SharePoint pages is a delegate control rendered through master page. You can find it defined in the master page as follows: < asp : ContentPlaceHolder id ="PlaceHolderSearchArea" runat ="server"> < SharePoint : DelegateControl runat...
  • Blog Post: Programming navigation in WSS 3.0

    Modifying navigation elements through code is quite tricky in WSS 3.0. Here are few scenarios, I’ve tried to cover that I think will be helpful in playing around with WSS 3.0 navigation elements. I’ve used the top navigation bar in these examples. But the same code should work for quick launch as well...
  • Blog Post: Add/Update "sealed" properties in SharePoint lists

    There’s always a question about updating properties in a list in SharePoint. Specifically, properties like “Modified By”, “Modified” etc., WSS 3.0 provides greater flexibility for enabling developers to do this with ease. Usually, this scenario would be required when users with “Read” rights need to...
  • Blog Post: GetWebTemplate web method does not return & AddList web method does not recognize my custom list templates!

    When you use the “GetWebTemplate” web method provided through webs.asmx web service, you’ll notice that the custom list templates you might have created is not available in the collection returned. This is because the OM call that happens behind-the-wires, calls the SPWeb.ListTemplates collection object...
Page 1 of 1 (15 items)