Adding New List Items Using the Lists.asmx Web Service

     You can lead a CAML to water, but…   The current MSDN documentation contains what I might call *adequate* coverage of the use of Web Services with Windows Sharepoint Services 2.0  In the case of simple operations, such as retrieving list items, the samples are more or less useful and can be adapted for…

125

Drawing the Curtain: Removing Access to the Site Settings Page for non-Administrative Users

  NOTE:  In this article, I discuss making some changes to SharePoint which are unsupported by Microsoft.  As an employee within the Support realm, I want to stress that the CheckPermissions() solution below is currently unsupported by Microsoft — if you make the change, you are on your own.  🙂  That said, I have gone…

89

What’s on the Menu? – How to Remove Items from a Document Library Drop-down Menu

  The SDK includes documentation explaining how to create a custom Jscript file that can override the default functions that create items in the cute little drop-down menu associated with list items.  For example, the drop-down below is for a PowerPoint presentation in a WSS document library:   The SDK describes how to override a…

64

Finding Ghosts: Programmatically Determining Ghosted/Unghosted State

  First, some terminology.  The terms “ghosted” and “unghosted” get thrown around a lot when talking about SharePoint site definitions, and all too often, they are used incorrectly.  Here’s the deal:   Ghosted:  a ghosted page is one that is read directly from the site definition on the filesystem. Unghosted:  an unghosted page is one…

49

Using ASP.NET 2.0 Web Resources in WebParts

[wait…is this a (*gulp*) technical post?  sheesh…when’s the last time I actually posted dev/technical content?  I was shocked to find that it was March 2005, when I posted three fairly useful items — more than a year ago!  Well, then…let’s get going, and let’s get something started, eh?] Web Resources Way back in the far-distant…

11

On Site Definitions, or How I Learned to Stop Worrying and Love KB 898631

By now, the commotion surrounding KB 898631 has died down somewhat, after an inital explosion of commentary.  Serge’s first post seemed to be the initial spark that lit the tinder, and I suspect that his was but the most immediately recognizable voice and certainly the loudest, where many other voices and opinions remain OTW (off-the-web)…

9

Creating a Modal Dialog "Chooser" Tool Part

This first Sharepoint-related post is a relatively complete example of how to create a custom web part with a custom tool part that uses a pop-up modal dialog (a “Web Dialog“) to choose a value and return it to the tool part.  My sample uses a pretty silly example and only utilizes a combo box…

6

MSSQLFT Syntax School — How to Get Ahead in Search

UPDATE:   Download details: Microsoft SharePointPSSearch SQL Syntax (Preview) http://www.microsoft.com/downloads/details.aspx?FamilyID=d6a10783-a4e4-4463-8444-f88be48760b3&displaylang=en   This “SQL Syntax” is MSSQLFT explained in near-excruciating detail, and is now included in the latest SharePoint Products and Technologies SDK.   ===   So, let’s say you want to perform a search against Sharepoint Portal Server 2003 programatically.    Sounds simple enough, doesn’t…

6

Setting List Item Permissions Programatically in WSS 3.0/MOSS 2007

[update: a quick review by one of our SDETs resulted in some good suggestions to make the code below more useable, and I’ve added them to the code below (1.  Using GetByType to return the Role Definition rather than specifying the name as a string, thereby working in localized versions other than en-us and 2.  checking for unique…

6

So, DoesUserHavePermissions() or Not?

  It’s been one of those weeks, this week, and I haven’t gotten around to posting any new information in a few days.  A fair snapshot of how things have been going:  over the weekend, I applied a healthy dose of a “weed and feed“ product to my lawn — specially formulated, the bag told…

5