Category Archive: Programming

Oct 27

And, that’s a rap!

Well the MS SharePoint 2009 conference is over and life is slowly returning to normal. A couple of days away from SharePoint to restore my equilibrium and I’m now back to SharePoint 2007 and the real world. But what of SharePoint 2010? When can we see it in all it’s glory. Well Steve Ballmer announced …

Continue reading »

Aug 10

Eeek.. slacking again..

Yes it’s nearly a month since my last confession again… And a busy one at that… Shortly after the first videos were sent out by Microsoft, my company got accepted into the early adopters program, and also the Technical Beta!! So now, I have to squeeze in some time to start writing new articles on …

Continue reading »

Jul 05

Pre-populating the BDC item picker in an application page

Adam Toth wrote a very good article on his old blog about using the BDC Entity Picker in an application page. Click here for the article. What Adam didn’t cover however is what happens if you want to pre-load that picker with some information. In my instance, I was copying a list item with BDC …

Continue reading »

Jun 26

Event handlers from code – redux!

Ok, well I think I’ve worked out why the GUId isn’t getting defined. The code I’ve written creates an EventHandler on the base content type. When this content type gets assigned to a library, the content type is instanced to the library and as a result I think the GUID i assign is removed. I …

Continue reading »

Jun 23

Event Handlers from code.

Eek.. June already.. I’ve been on my hols, come back and realised that I’ve been somewhat remiss in posting to my blog. So without further ado, I’ll talk about my current expedition into the realm of SharePoint code. Todays task is EventHandlers from code. Attaching Event Handlers from code is pretty easy, the SDK shows …

Continue reading »

May 07

Using JQuery to remove Linked List Items Hyperlinks – Revisited

So in an earlier post I talked about using JQuery to remove the A tag that is automatically included in the rendering of a linked list item in display mode. I really liked this solution as it avoided having to go to the lengths of writing a custom field to solve this and can be …

Continue reading »

Apr 22

Overriding Core.JS functions

A client of mine recently required adding an additional E-Mail link adding to the Item Drop Down menu that drops off of the ECB menu within Document Libraries and Lists. Now this functionality is provided by the function AddSendSubMenu(m,ctx) within Core.JS. Editing this file is NOT SUPPORTED (You all know this by now I’m sure!). …

Continue reading »

Apr 14

Using JQuery to remove Linked List Items hyperlinks.

A client of mine recently raised a concern about the linked list items that are used within SharePoint. In the display list view, they show up as hyperlinks to the linked item. All well and good, you can click on these links to see the full item, however there is no easy way to return …

Continue reading »

Mar 04

SharePoint Dispose Checker Tool

The Microsoft SharePoint team have released a SharePoint disposal checker tool to the MSDN community. This command line tool scans individual asseblies, or entire directory structures and analyses the code for memory leaks through poor disposal. I ran it against some of my assemblies and I’m happy to say only my quick command line tools …

Continue reading »

Jan 29

List Item Attachments – Handling the uploads manually.

Uploading files into SharePoint from code is not an onerous task. The hard part comes from creating the items and metadata around the file that you wish to upload. One area that is really easy to work with is List item Attachments. If you examine the SPListItem class, you’ll find mention of an SPAttachmentsCollection available …

Continue reading »

Older posts «

» Newer posts