Dennis Bottjer | ASP.NET + SharePoint Architect, Trainer & Speaker

"An Ounce of Prevention is Worth a Pound of Cure" - Ben Franklin
posts - 168, comments - 59, trackbacks - 41

My Links

News

Add to Technorati Favorites The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Tag Cloud

Archives

Post Categories

WSS 3.0

There are 2 entries for the tag WSS 3.0
Web.Config Modification Manager for SharePoint

Contrary to popular belief it is possible to programmatically manipulate the SharePoint's web.config.  When attempting to programmatically manipulate the web.config it is wise to have a utility to promptly roll back your modifications.  The Kid has provided us with just such a utility. Download Web.Config Modification Manager For SharePoint  The Modification Manager is available in both an application page (ASPX) and solution setup versions.  If you download the application page version you will notice the following code which is used to remove modification from the web.config. Notice that the code first removes the modification, then an update is done on the oApp...

posted @ Tuesday, November 25, 2008 1:22 AM | Feedback (0) | Filed Under [ SharePoint ]

Manipulating SharePoint Lists with Code

How do I create a custom list? 1: Guid listId = webSite.Lists.Add("Sample", "Sample List", SPListTemplateType.GenericList); 2: How to determine if a list already exists within an SPWeb? 1: public static bool DoesListExist(SPWeb web, String listName) 2: { 3: foreach (SPList list in web.Lists) 4: ...

posted @ Friday, October 3, 2008 5:15 AM | Feedback (3) | Filed Under [ SharePoint ]

Powered by: