in

Browse by Tags

  • SharePoint Field Data: Simple Web Part

    If you're working with CAML, it's good to have available a list of fields, their internal field names, and their data types. I wrote a simple Web part that accepts the display name of a list and returns this information, along with whether or not each field is required or indexed. The code for...
    Posted to Melyssa’s Blog (Weblog) by mbell on Wed, Sep 9 2009
  • Event Handling in SharePoint: How to Perform Some Action on Another List in a List’s Event Receiver

    Suppose that, during the deletion of an item in List A, you want to first check to see if some condition holds true in List B, and if so, perform some action on List B before actually deleting the item in List A. Normally, workflows created in SharePoint Designer would come in very handy here, but unfortunately...
    Posted to Melyssa’s Blog (Weblog) by mbell on Mon, Mar 2 2009
  • Event ID 10016 on a SharePoint Server

    After a new installation or an upgrade on a MOSS server, you may start receiving a million DCOM errors in your System event logs. Thankfully, these are very easy to clean out. The error will look something like this: The application-specific permission settings do not grant Local Activation permission...
    Posted to Melyssa’s Blog (Weblog) by mbell on Thu, Sep 25 2008
  • How to create and deploy a custom Web Part

    1. Open Visual Studio 2005 and create a new Web Part project. 2. Add the following two using statements to the .cs file: using System.ComponentModel; using System.Net; 3. Add the following using statement to the AssemblyInfo.cs file: using System.Security; 4. Add the following line at the end of the...
    Posted to Melyssa’s Blog (Weblog) by mbell on Thu, Sep 18 2008
  • Exception from HRESULT: 0×80041050 Error on SharePoint Site with ForeFront

    There are several posts on this out there already, but I thought I’d add mine as well, just to have it down. If you have ForeFront managing your virus scanning for your SharePoint environment, then you may at some point receive some close resemblance of the following error when you navigate to your site...
    Posted to Melyssa’s Blog (Weblog) by mbell on Thu, Sep 18 2008
  • How to add a custom user control to a SharePoint page

    One way to get “home grown” .Net development in a SharePoint site is to use custom user controls (.ascx). Following are the general steps involved with making user controls function on a SharePoint site: 1. Start a new Web Site in Visual Studio. 2. Add a new user control page to the project - you may...
    Posted to Melyssa’s Blog (Weblog) by mbell on Thu, Sep 18 2008
  • Security Trimmed Controls in SharePoint

    Let’s say you have a control on your page that you want only a certain group of users to see. Fortunately, SharePoint has a built-in control that lets you hide controls to which users do not have the necessary permissions. This control is the SPSecurityTrimmedControl. <Sharepoint:SPSecurityTrimmedControl...
    Posted to Melyssa’s Blog (Weblog) by mbell on Thu, Sep 18 2008
Page 1 of 1 (7 items)
Powered by Community Server (Commercial Edition), by Telligent Systems