Category: SharePoint

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

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

List view Web parts… No folder breadcrumb

One thing that has always confounded me is the lack of a breadcrumb in List View WebParts. Picture the scenario, You drag a Document library list view onto your web part page. fine no problems there. You click on the first folder, down one level, then another, Then perhaps one more.. Hang on, I thought …

Continue reading

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

Content Query Web Parts.. the new god?

I’ve only worked with the CQWP a few times and have never really got under the bonnet, however just recently at a client they had a requirement that I couldn’t solve OOTB… Time to dive into the inner workings of the CQWP.. And boy am I glad i did.. this web part rocks! There are …

Continue reading

A question of authorisation..

I’m writing some custom application pages that run from the _Layouts directory. They’re triggered by items on the Edit Control Block menu.. (See the previous post from the other day on this option..) One of the things that has really come up with this is the question of authorisation, and confirming that the user does …

Continue reading

Adding a ContentType Specific item to the ECB (Edit Control Block)

There’s plenty of articles on the net that tell you how to add items onto the Edit Control Block for a given list type, But I found articles on Content Types to be in short supply.. So, for the benefit of Mr google bot… (Edit Control Block Entries for Custom Content Types) How do we …

Continue reading

Using Google Map API keys with Alternate Access Mapping.

On a clients Intranet/Extranet recently, I was asked to provide a static Google map for both staff and visitors to find the Head Office location. The main problem with this is that Google want you to use a static API key for each URL that will refer a connection. Obviously if you’re using alternate access …

Continue reading

Integrating Search Server Express – reprised.

I’ll be one of the first to admit, Javascript is NOT my strong point.. or my favorite.. C# however is, so I amended the ASCX page to use C# throughout. 2 ASP controls for the Image and text box both of which have a click event “cmdRunSearch_Click” This calls:- protected void cmdRunSearch_Click(object sender, EventArgs e) …

Continue reading

Integrating Search Server Express into WSS 3.0 Team Site.

Just recently we installed Search Server Express for a client on their WSS infrastructure. It’s working quite nicely having a much more granular control than the standard WSS search functions, but my main gripe is the lack of SmallSearchServer control to replace the existing WSS one. Most users would rather click into a text box …

Continue reading