Tag: best practice

  • Default Quick Launch Heading Paths

    Every so often, I come across sites that have the default Heading entries on the Quick Launch deleted.  I decided to write them down here in case I ever needed to put them back.  It’s also handy to be able to navigate to the All Items link in a site with no Quick Launch.  This is really for my reference but I hope this helps someone else out!

    Default Quick Launch Heading Paths

    View All Site Content
    /[web url]/_layouts/viewlsts.aspx

    Documents
    /[web url]/_layouts/viewlsts.aspx?BaseType=1

    Lists
    /[web url]/_layouts/viewlsts.aspx?BaseType=0

    Discussions
    /[web url]/_layouts/viewlsts.aspx?BaseType=0&ListTemplate=108

    Sites
    /[web url]/_layouts/viewlsts.aspx?ShowSites=1

    People and Groups
    /[web url]/_layouts/people.aspx

    Recycle Bin

    /[web url]/_layouts/recyclebin.aspx

    ******  UPDATED for 2010 ************

    Pictures

    /[web url]/_layouts/viewlsts.aspx?BaseType=1&ListTemplate=109

  • Easy Check If An SPWeb/SPList Exist

    I write a lot of code using the SharePoint object model.  Often times, I want to check to see if a particular Web exists in a Site Collection or a List exists in a Web.  I used to write methods that enumerated through the collection to see if they existed or I wrapped a Try-Catch block around the code in case the object didn’t exist.

    Recently I came across a code snippet that made checking for the existence of a web or list easy.  I can’t remember where I found it so I’ll thank the nameless person who originally wrote the code.  I’m only capturing it here for my own reference and possibly help someone else.

    
            static bool ListExists(SPWeb web, string listName)
            {
                return web.Lists.Cast().Any(list => string.Equals(list.Title, listName));
            }
    
    
            static bool WebExists(SPSite site, string webName)
            {
                return site.AllWebs.Cast().Any(web => string.Equals(web.Name, webName));
            }
    
    
  • SharePoint Saturday – Kansas City

    I presented “What I Wish I Knew Before I Implemented SharePoint” at SharePoint Saturday in Kansas City on 12/12/2009.  This is a 100-level presentation that is meant to be a general overview of the process of implementing SharePoint.

    I enjoyed my time there and for those in my session, you can download the slide-deck here.

    Also, for reference, here are a list of links that I referenced during the session.

    SharePoint Shepherds Guide for End Users

    EndUserSharePoint.com

    SharePoint Deployment Planning Services

    SharePoint Website at Microsoft

    WSSDemo.com

    Slide Deck: SharePoint Saturday KC 2009 I Wish Id Known That

    You can also get my contact information from my tag.

    ********  UPDATE ***********

    I was informed that my tag was password protected.  Lo-and-behold, it was and so I created a new tag.  This one should not be password protected.

    ******** UPDATE ************

    Dave Petersen Contact

  • SharePoint Install Smooth Sailing!

    This is a great reference for when you are installing SharePoint. A great reference for all of the different User accounts needed by SharePoint.

    Best Practice for User Accounts When Installing MOSS