Wednesday, June 29, 2011

WhitePaper on Sharepoint 2010 Migration

White paper on Migrating to SharePoint 2010? Ten Things I’ve Learned the Hard Way(So You Don’t Have To)
By Todd Klindt, SharePoint MVP

Tuesday, June 28, 2011

Hiding left Navigation in SharePoint 2010

To hide the left navigation in SharePoint 2010, you still need to follow adding content editor web part which you did in SharePoint 2007 onto the page first and then add the below script.

<style type="text/css">
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
</style>

Friday, June 17, 2011

Migrating Code from MOSS/SharePoint 2007 to SharePoint 2010

I have identified two methods to convert SharePoint 2007 code to SharePoint 2010  using Visual Studio 2010 but sometimes it might not work 100% based on the complexity of your solution and how good  you designed your previous solutions. But one thing  i am sure that it  will make your life easy rather building the solution from scratch.

1) Import SharePoint Solution Package or WSP

Open Visual Studio 2010, Click on File -> New Project and it will open "New Project" Dialog box as shown below. From the list of Installed templates select SharePoint on the left side of navigation and select "Import SharePoint solution package" as shown below ,

1) Provide the solution name and click OK 
2) then provide debugging information such as SharePoint Site, Trust level (sandboxed or full-trust solution) 
3) After that it will ask for WSP to import from. So please browse for the WSP you want to convert and then visual studio will automatically convert the solution and will display the converted project.

2) Import WSPBuilder Project (if its not visible please download here)

Open Visual Studio 2010, Click on File -> New Project and it will open "New Project" Dialog box as shown below. From the list of Installed templates select SharePoint on the left side of navigation and select "Import WSPBuilder Project" as shown below , 


1) Provide the solution name and click OK 
2) then provide debugging information such as SharePoint Site, Trust level (sandboxed or full-trust solution)  and also the path of the existing WSPBuilder Project.
3) once you have given all the information click on Finish and then visual studio will automatically convert the solution and will display the converted project.

You have to verify thoroughly all the features and add the missing features.
Hope it works !!