Archives

Archives / 2009 / January
  • 10% discount of Microsoft Certification exams

    Hi,

    Many of you have written to (by mail) on which certification will be good for me etc… If any one of you people reading this are interested in certifying in Microsoft Certification, Then I have a good offer for you.

    From now till March 31, 2009, you can use this Promotion Code to obtain a Microsoft Certification Exam Voucher Code at a 10% discount and free retake offer. You are free to pass on this information to any friend interested in giving Microsoft exams.

    The Exam Voucher Code is valid for exams taken by May 31, 2009 in India. Note that the limited time offer is valid for Microsoft Certified Technology Specialist (MCTS), Microsoft Certified IT Professional (MCITP) and Microsoft Certified Professional Developer (MCPD) exams only. More information on how to obtain the vouchers and the Terms & Conditions of Usage are available to your community at www.learnandcertify.com.

    The promotion code for the voucher is IN93C1EC

    Vikram

  • Sharepoint Removing event handler to the list with the help of a generic Console Application

    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.

    • SiteCollectionURL - Takes the URL of the Site where the list resides. Example – “http://www.example.com
    • RecordListName – Takes the name of the list on which the event handler should be attached. Example – “ListOfFriend”
    • EventHandlerName – Name of the eventhandler that should be applied like ItemUpdating. If there are more than one event handler, then user can pass the venet handler as a comma seperated list ItemDeleting,ItemUpdating
    • ClassName – FullName of the class where the code for the event handler has been written. Example – SharePoint.Vikram.EventHandlers.FriendList
    • AssemblyName – Name of the assembly where the class for the event handler - SharePoint.Vikram.EventHandlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=faeb5f91b6c4621e

    Vikram

  • Sharepoint Adding event handler to the list with the help of a generic Console Application

    Hi,

     

    While working with Sharepoint list many a times developers need to create special event handler for the list based on their requirement. Once the event handler assembly is created we have to deploy the Assembly in GAC. And then attach the event handler to the list for which the event handler is created.

     

    For attaching an event handler with the list we need to create a console application which would be used to attach the event handler to the list. Normally developers create separate console application to attach event handler to the different list.

     

    What we can easily do create a single console application which would take some parameter form a configuration file and attach the event handler with the specified list. Developers need to provide the required data to attach the event handler in the configuration file.

     

    The zipped console application is available here.

     

    The console application does the work of attaching the event handler to the list. The console application needs 5 different values from the appsettings section of the configuration file.
    • SiteCollectionURL - Takes the URL of the Site where the list resides. Example – “http://www.example.com
    • RecordListName – Takes the name of the list on which the event handler should be attached. Example – “ListOfFriend”
    • EventHandlerName – Name of the eventhandler that should be applied like ItemUpdating. If there are more than one event handler, then user can pass the venet handler as a comma seperated list ItemDeleting,ItemUpdating
    • ClassName – FullName of the class where the code for the event handler has been written. Example – SharePoint.Vikram.EventHandlers.FriendList
    • AssemblyName – Name of the assembly where the class for the event handler - SharePoint.Vikram.EventHandlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=faeb5f91b6c4621e

     

    Vikram

  • Congratulations 2009 Microsoft MVP!