Welcome to my blog on all things SharePoint. I have a range of articles that will interest you if you've made it as far as visiting my blog. I was awarded as an SharePoint MVP by Microsoft in July 2010. I currently live in New York and am an Enterprise Architect at AvePoint Inc.. I co founded www.NothingButSharePoint.com with Mark Miller in 2010.

MVP AwardJeremy Thake Profile Photo

Whitepapers

NBSP

Check out my articles on NothingButSharePoint.com

Solution Development in SharePoint 2007

This series was inspired by the chatter amongst SharePoint blogs on the best ways to approach customisations in SharePoint using Solutions.

Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6 - Part 7 - Part 8

Leveraging the SharePoint Platform

This series was inspired by a discussion had with Andrew Coates at a Perth SharePoint User Group meeting. This then turned into a 6 part series on Arno Nell's SharePointMagazine.net web site.

Initial post - Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6

Webcasts

I have recorded various web casts that I present at User Groups or just on a specific topic by request:
How ASP.NET Developers can leverage SharePoint webcast
SPSource Webcast: Reverse engineer Lists to ListTemplates and much more
SharePoint Development with Unit Testing webcast
Perth SharePoint UG Web Cast on approaches to deploying artefacts (SPSource)
More...


Podcasts

I have been interviewed about Leveraging the SharePoint Platform by the SharePoint Pod Show: listen here .

RSS Feed Feed your read!

Archives

March 2012 (1)
February 2012 (1)
January 2012 (5)
September 2011 (2)
August 2011 (1)
July 2011 (3)
June 2011 (7)
May 2011 (3)
April 2011 (3)
March 2011 (3)
February 2011 (2)
January 2011 (1)
December 2010 (4)
September 2010 (4)
July 2010 (5)
June 2010 (4)
May 2010 (6)
April 2010 (7)
March 2010 (5)
February 2010 (7)
January 2010 (3)
December 2009 (1)
November 2009 (6)
October 2009 (9)
September 2009 (7)
August 2009 (6)
July 2009 (13)
June 2009 (4)
May 2009 (12)
April 2009 (4)
March 2009 (4)
February 2009 (13)
January 2009 (4)
December 2008 (4)
November 2008 (11)
October 2008 (16)
September 2008 (4)
August 2008 (5)
July 2008 (4)
June 2008 (8)
May 2008 (5)
April 2008 (9)
March 2008 (5)
February 2008 (6)
January 2008 (1)
November 2007 (11)
October 2007 (8)
September 2007 (24)
August 2007 (5)
July 2007 (2)
May 2007 (1)
April 2007 (1)
March 2007 (1)
February 2007 (3)
January 2007 (4)
November 2006 (7)
October 2006 (7)
September 2006 (18)
August 2006 (14)
June 2006 (3)
May 2006 (8)
April 2006 (4)
March 2006 (38)
February 2006 (30)
January 2006 (2)
December 2005 (3)
November 2005 (28)
May 2005 (1)
April 2005 (5)
March 2005 (1)
November 2004 (1)
August 2004 (11)
July 2004 (1)
Failed to render control: An error occurred during a call to extension function 'createMonthUrl'. See InnerException for a complete description of the error.

Links

Tag Cloud

Ajax, Apple, DotNetNuke, Enterprise Content Management, Error Resolution, Gadgets, General, Governance, Microsoft .Net Development, Mobile, SharePoint, Sharepoint Business Forms, Sharepoint Business Intelligence, Sharepoint Collaboration, SharePoint Development, Sharepoint Enterprise Content Management, Sharepoint Enterprise Search, Sharepoint Portal, US Migration, Web 2.0, Workflow

Save as Template/Import WSP in VS2010 is as useful as sticking my hand in a blender   

Tags:

Developer Continuity

I have been hearing a lot in presentations about "Developer Continuity" in SharePoint 2010 Development but unfortunately I still don't think the tools are there still. A common scenario is for work to be done quickly in SharePoint Designer as a prototype, as let's face it, it's a lot quicker to do things in the Web UI/SharePoint Designer than in Visual Studio. A good example is adding a column to a list or adding a field to a content type.

At some stage you want to simply pull all your work into a Solution Package to deploy into a more controlled environment. I have found that this isn't that easy at all, I'm happy to be proved wrong here and also happy to help build a community tool that can do this. My recently published Whitepaper goes into more depth around the lifecycle of a SharePoint project.

So I tweeted the title of this post today after simply creating a Team Site in SharePoint 2010, going to "Save as Template" to create my WSP and then going into Visual Studio 2010 and selecting "Import WSP".

I know the guys in the Product Team may see this as a dig at them and I must admit my tweet is a little heated., I think the progress made in the tooling is fantastic. I just feel that they need to publicise the limitations of the tools along with its strengths. IT Bosses don't quote community members, they quote Microsoft slide decks from conferences and I can see a lot of "why is it taking so long" comments still like I mentioned a few years back on this blog.

What I got in return was not anywhere near what I expected and I'm questioning what "Import WSP" is actually for. There's not much out there in the community or on Microsoft content sites on this stuff as yet.

What it does do

Extracts artefacts from a WSP and puts it into the new structure of SharePoint Visual Studio Projects. It supports:

  • Fields
  • Content Types
  • List Instances
  • Modules (kind of)
  • Properties
  • Workflow associations
  • Event Receivers instances
  • Web Templates

What it does badly

Unintuitive wizard

  • The "Select items to import" picks up everything…very confusing if all you want is a page layout or a single Content Type.
  • It doesn't seem clever enough to realise the files are out of the box un-customised files e.g. they'll be there anyway if you deploy this to a site, so why add the noise to the project?

Poor Naming

Considering the naming is so poor I was expecting some tutorials on how to use this thing at RTM time. So far I've seen no-one talking about this and I suspect it is because it is so hard to use and describe how and when you would use it.

Strips out stuff

Some of the files that it exported dropped stuff for example it strips out data in WebPartZones that are there in SharePoint Designer 2010 files when you look at them in the Virtual File System within Page Layouts.

Exporting a Workflow

The workflows exported from SharePoint Designer 2010 also have a similar unintuitive naming, you'll spend a fair amount of time trying to change the naming before you even begin trying to modify the outputted code.

What it doesn't do

Module files

I had some Content Artefacts (css and xsl files) that I'm using in Content Query Web Parts and it doesn't save this as part of WSP.

Save as Site Template

This is actually blocked in Publishing sites…definitely something to be aware of.

List Items

I ticked it to include content but it does not seem to do any List Item content e.g. <RowData> in <ListInstance>.

What can we do?

Well in 2007 we had Solution Generator that came with VSeWSS 1.2 (1.3 CTP still isn't released) and also another open source project which I assisted on with Rich Finn called SPSource. Both reverse engineer instances of Artefacts (Content or Solution) and allow you to use them in Visual Studio. I had hoped that we would not need SPSource in SharePoint 2010 due to tooling improvements, but I believe that this will be required to do the kind of scenarios I mention above.

I will continue to investigate this and blog about it in the near future.

 
Posted by  Jeremy Thake  on  4/27/2010
0  Comments  |  Trackback Url  | 2  Links to this post | Bookmark this post with:        
 

Links to this post



Pingback from  Sharepoint 2010 Save As Template « Sladescross's Blog  on  8/5/2010  8:35 AM

Comments

blog comments powered by Disqus