Archive for the 'SharePoint 2007 Development' Category

Posted by Adam Buenz

One of my friends had a slight dilemma in his code this morning where he had a recursive loop, subject and constrained by some limit logic, which iterated through SPList objects in an arbitrary SPWeb and returned a large typed collection of SPList objects. The collection was afterward used for massaging out some specific SPField [...]

Posted by Adam Buenz

Generally that is what I am discovering is the case, however terse that may appear. I normally don’t peruse recruiter sites, except I got this outlandishly awesome job offer housed in one. Before I knew it, I was searching for absolute randomness on the site for fun. As I was browsing for [...]

Posted by Adam Buenz

When programmatically working with data that is collected in SharePoint lists, you are undoubtedly going to employ SharePoint views, denoted by SPView objects. When working with multiple views, there may come a time when it is necessary to do rudimentary field comparison between two views.
In order to do this, you can use [...]

Posted by Adam Buenz

Remember if you are logging errors to the system event log when developing your SharePoint application code you need to commonly promote the privileges that it is occurring under. Below is a common line that you can use in your catch blocks that gives you pretty much all the information you could want about an [...]

Posted by Adam Buenz

I don't know if this is just me, but when I was opening source controlled projects (VSS) for the SECOND time Resharper decides that it was time to take a field day all of a sudden. I could have sworn that it worked before. That and my Intellisense went away (which I remember I had [...]

Posted by Adam Buenz

I have been working with ADFS claims more and more at work, habitually trying to bridge some of the gaps natively built in between the ADFS and MOSS platform (noticeably visible when working with MOSS specific user and security features like Profiles). Also, numerous colleagues have been using ADFS in their [...]

Posted by Adam Buenz

One of my friends early this morning (Too early if you ask me. It takes me a lil bit to get my engines going) asked me about getting presently executing method information. Well, that is pretty easy, right? We have System.Reflection that allows us to look into the current codebase for information like that, like [...]