Nick Hadlee's Blog on SharePoint and Other Occasional Rants…


The Content Type Is In Use – SharePoint 2010 Error Redux
May 24, 2010, 12:30 pm
Filed under: 2010, Errors, Tips & Tricks

This is a common error if you try to delete a content type in SharePoint. SharePoint is quite rightly trying to stop you from breaking anything by removing a content type if:

  • the content type is being used by a list or library somewhere in your site; or
  • another content type inherits from the content type you are trying to delete

SharePoint provides the SPContentTypeUsages class which allows you to track where the content type is being used and there are some good posts about other things to look for when tracking down the offending content type. In SharePoint 2010 there is an extra place you need to look…the recycle bin.

It seems SharePoint 2010 throws this error if you have assigned the content type to a list or library and it has been deleted to the recycle bin. I’m not sure why, and in this circumstance SPContentTypeUsages is no good to you – it won’t have any references about lists in the recycle bin.

Just remember next time you get this error to check the recycle bin and delete any lists or libraries that reference the content type.

Side Note – SharePoint Manager

A really easy way to get access to the information provided by SPContentTypeUsages is via SharePoint Manager.

SPM 2010

This is what you will see if a list referencing the content type is in the recycle bin…nothing!

Content Type In Use

Advertisements


5 Reasons to Attend the 2010 New Zealand SharePoint Conference
May 8, 2010, 1:48 am
Filed under: 2010, NZSPC, SharePoint

Ok so does anyone really need any reasons to attend a conference, let alone a SharePoint conference? Probably not…but maybe, just maybe, you need a little ammo to justify getting your manager, your wife/husband/partner/significant other/whoever to let you come along.

So in Letterman-like fashion heeeere’s tonight’s top 5 reasons to attend the 2010 New Zealand SharePoint Conference:

NZ SharePoint Conference

1. SharePoint 2010

The NZ Conference is on June the 9th and 10th (less than 5 weeks away) and SharePoint 2010 gets its public launch on May 12th. That’s only about 30 days between the launch and the conference. How many other SharePoint Conferences are going to be so close to the launch date? What better place to come and learn about SharePoint 2010?

2. SharePoint 2007

SharePoint 2010 is getting a lot of attention at the moment but this conference isn’t all about SharePoint 2010! There is still going to be a lot of 2007 focused content so if you want to hear about SharePoint 2007, maybe listen to what great things people have done with it, talk to people who have worked with 2007 for the last couple of years then “this will be the New Zealand conference to learn about SharePoint 2007”.

3. World Class Speakers

This year’s speaker line-up is really impressive!

There is a mix of international and local speakers which includes a number of MVP’s, a Certified Master, not to mention a whole other range of fantastic speakers from diverse backgrounds. The internationally renowned SharePoint experts are making fairly lengthy trips to get here and share their knowledge and there is some great home grown talent too so come and listen to what they have to say. I bet you learn a thing or two!

<Plug> Gary Payne and myself will be giving the session 2007 and 2010 Head to Head in the Real World to compare building a solution using 2010 vs. 2007. If you want to see what has changed, been made easier, or just want to see two SharePoint solutions built in under 50 minutes then come and see our session!</Plug>

4. It’s THE New Zealand SharePoint Event of the Year

Unlike other technology-focused conferences (such as TechEd) this will be about SharePoint, SharePoint and more SharePoint. If you want to know anything about SharePoint (2007 or 2010) and you’re in New Zealand between June 9-10 then this is the place you should be.

The session content will range from beginner (100 level) to deep-dive (300 level) in either Business, Technical, Vendor and Voice of the Customer streams. Whether you’re an IT pro, developer, consultant, business analyst, decision maker or end-user, there WILL be something at this conference for you.

5. It’s a Conference!

This is a two day event. Its a great way to get away from the office – of course the primary focus is on the sessions but conferences are sooo much more than sessions. SharePoint conferences are a fantastic way to network with other SharePoint people, maybe meet some of those individuals you interact with online, and there is more than likely going to be at least one world famous SharePint happening too.

So if you haven’t already it is high time to go get your conference ticket before they sell out!

Check out the online interest around the NZ conference on twitter and if you’re at the conference come and find me and say hello. I’ll be at the User Group Community booth, delivering a session and generally wandering around chatting to people.




%d bloggers like this: