The Latest Time Saving Tips for Your SharePoint Deployment

Corey Roth

Subscribe to Corey Roth: eMailAlertsEmail Alerts
Get Corey Roth via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Corey Roth

This week, I needed to deploy lookup columns to some of my lists and as usual I wanted to avoid writing code at all costs.   As some of you may know, Kyle Kelin and I debate this topic often as he prefers a code approach.  I figured it had to be possible with CAML, but many claimed it was not even possible.  A few approaches showed up out there involving using code to modify the elements.xml file with your GUID, but that just wasn’t going to cut it for me.  One popular post on the topic by Josh Gaffey, started me in the right direction, but there were a few hurdles I ran into as I was trying to implement it.  It would create the list, show the content type, and site columns, but when I tried to create a new item, the lookup column was not there.  The basic technique is that you specify the path to the list in the form of (Lists/MyListName) in the List attribute of ... (more)

Turning on the Developer Dashboard in SharePoint 2010

The developer dashboard is a great new feature that developers can use to aid them in tuning performance on a page.  This new functionality adds information to the bottom of any page in SharePoint that displays performance information and what SQL queries were executed to display the page.  To my knowledge, there is currently no way in the UI to turn this on, so you can do this with a quick x64 console application.  This is soon to become a quite popular code snippet I am sure. SPPerformanceMonitor performanceMonitor = SPFarm.Local.PerformanceMonitor; performanceMonitor.Developer... (more)

Upgrade First, Then Fix Your Information Architecture

I’ve suffered through my share of SharePoint upgrade / migration projects now and I have really changed the way I look at them.  Often when you get exposed to a new system, the lack of governance has led to a total mess with site sprawl as far as the eye can see.  The architect in me makes me want to fix everything: upgrade, fix the IA, classify content, re-brand, you name it.  You might be tempted to do it all at once and maybe even use a third-party tool that promises to migrate things from location to another seamlessly.  These tools can prove handy, but don’t fall into the tr... (more)

The object was not found. (The item was deleted because it was either not found or the crawler was denied access to it.)

I’ve seen a few people asking about this in the Crawl Logs and thought I would take a few minutes to address it.  First and foremost this is a warning and not an error message.  Sometimes when you receive this message, it is the crawler behaving normally.  Other times it is because of an issue.  I’ll first talk about when it is a normal behavior.  When an item is deleted, it is perfectly normal to see this in your logs the next time a crawl occurs.  This is simply indicating that SharePoint is removing the record from the search index.  If you see an occasional one of these, then... (more)

Use noConflict() with jQuery in SharePoint

I’ve seen quite a few posts on jQuery and SharePoint lately. I haven’t seen too many people point this out (maybe I didn’t search well enough :) ), so I thought I would take a quick minute to remind you to use jQuery’s noConflict() method in SharePoint.  It appears somewhere in all of the magic JavaScript that powers SharePoint it too also makes use of the $ shortcut.  If you don’t simply having a reference to the jQuery script on a page can cause all number of things to break.  I have seen it break my own JavaScript as well as cause certain things not to display such as the Ed... (more)