• ...Me Unplugged...

    Recycle Bin.. Continued

    • 1 Comments
    Project Structure: Handler 1: Handles Upload(insert) and Delete events , Name: DocLibrary -------------- BaseEventSink.cs (from the first post) -------------- EventSinkData.cs(from the second post) Handler 2: Handles the Restore event ...
  • ...Me Unplugged...

    Recycle Bin.. Continued

    • 0 Comments
    The second class for the second event handler: /*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. ---------------------------------------------...
  • ...Me Unplugged...

    Recycle Bin.. Continued

    • 0 Comments
    Now that we have handled the Upload and Delete events, let us handle the Restore event . Implemented in a class library which contains similar classes as the earlier library. Again we have a BaseEventSink class which is extended from the default available...
  • ...Me Unplugged...

    Recycle Bin.. Continued

    • 0 Comments
    /*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. --------------------------------------------------------------------- using System; using...
  • ...Me Unplugged...

    Recycle Bin

    • 2 Comments
    With v2 of Sharepoint, restoring deleted documents was a much sought after elixir. And to that effect were made a number of attempts at coaxing the product to allow us to retain copies of the deleted items. Once such simplistic approach was documented...
  • ...Me Unplugged...

    Oblivious!

    • 1 Comments
    Well, yeah lately I have been oblivious too lots of things. Having indulged in a fetish of subscribing to newsgroups, the number of personal folders is burgeoning to say the least. Of course, its also nearly impossible to read through everyhting that...
  • ...Me Unplugged...

    ...More

    • 1 Comments
    So lots of water has flowed under the bridge and then there's some more. Had an intense week (or was that two) since I put pen to paper. Gizmodo has been going berserk with my inbox with about 500 new articles already unread. And why not, with all the...
  • ...Me Unplugged...

    Musings...

    • 2 Comments
    Its been quite some time since I consciously dug out time to write something here. The past couple of months have been a helluva time. I started with getting the feelers on office 12 and then the whole bunch of technological challenges that throws up...
  • ...Me Unplugged...

    Its here! Its here!

    • 1 Comments
    After months and months of anticipation the word is out on the streets regarding the WSS SP2. Yoooohoooo! Check out more stuff here at: http://www.microsoft.com/downloads/details.aspx?familyid=abba20f2-3625-4c9c-a412-ab9bbebdb5e8&displaylang=en .
  • ...Me Unplugged...

    Listless

    • 0 Comments
    This is something really silly. Any list that is a part of a site can be accessed by using a small snippet that looks more or less like this: SPSite site = new SPSite(http://localhost"); SPWeb web = site.OpenWeb(); SPList list = web.Lists[index]; Now...
  • ...Me Unplugged...

    Trustworthy!!

    • 1 Comments
    The other day I landed on a very interesting issue. Before I break in the solution, let me just try and explain the problem the way it came in. Well, there was this guy who had created a custom web part to fetch a report from some database. He was...
  • ...Me Unplugged...

    Area 51

    • 0 Comments
    This started of as another one of those weird things. Well, so here goes. Problem: Accessing the news listing through the Object Model. Solution : // get the reference SPSite site = new SPSite(“http://localhost”); // this will point to the portal URL...
  • ...Me Unplugged...

    Justtoomuchtohandlerightnow

    • 1 Comments
    Exactly....too tied up with loads of stuff. Looking at getting my own home, so thats stealing most of my waking hours. The rest am sleeping. need to break out of the habit of sleeping everyday [sic]. Man wish I was born on Krypton. Wondering if theres...
  • ...Me Unplugged...

    Digging the content index

    • 0 Comments
    Touring the Content index with the Object model...
  • ...Me Unplugged...

    Programmatically adding a List with custom fields

    • 9 Comments
    When a list is created programmatically using a custom template, the custom fields do not get displayed in the UI. These fields do not become a part of the displayed fields of the default view. The Problem - A common task like uploading a file...
  • ...Me Unplugged...

    SPListItem.Update()

    • 1 Comments
    Now thats a funny title. This is something I worked on quite recently. Consider a scenario where you are trying to access a number of lists programmatically. The issue I dealt with was concerned with lists in a recurring event of a metting workspace....
Page 2 of 2 (41 items) 12