Monday, March 21, 2011
One or more field types are not installed properly after upgrade from SharePoint 2007 to 2010
Monday, March 14, 2011
SharePoint Learning Kit in SharePoint 2010
Download SharePoint Learning Kit from http://slk.codeplex.com. The current version for this blog post is SLK-SP2010-Beta2.zip.
Extract all the files located in the downloaded zip to c:\SLK\.
Open the SharePoint 2010 Management Shell
In a later stage we will be running a pre-written PowerShell command script that is stored in the install files. We have to enable scripts to be run. Run the following command.
1: Set-ExecutionPolicy Unrestricted
It will then ask you if you are sure. Type ‘Y’ and press enter.
Set the location of the folder we extracted earlier.
1: set-location c:\slk
This now allows us to run a pre-written PowerShell command that has been written to install the SLK feature into the SharePoint 2010 farm.
The script only has 2 lines of code but to run this command type the following into the same cmdlet.
1: .\addsolution.ps1
When this script has been run you will be give a table view of the solution installed. It will state that the deployment is not ‘Deployed’. This is fine as we will deploy it in the next few steps.
Now open the SharePoint Central Administration website and from the list down the left hand side select System Settings.
Under Farm Management you will see Manage farm solutions – select this link.
You will now see a list of all the solutions you have deployed in this farm. In the list you will see sharepointlearningkit.wsp and that the status is ‘Not Deployed’.
Click ‘sharepointlearningkit.wsp’ which will take us to the deployment page.
This page gives us some information about the solutions we are deploying. Click on ‘Deploy Solution’.
It will now ask where you want to deploy the solution. Click OK to deploy.
SharePoint Learning Kit is now deployed to your farm.
Create the SLK Database
SLK will use its own database to store information such as grades. It won’t be a large database but it still has to be created.
In Central Admin click on Application Management and at the bottom you will SharePoint Learning Kit Configuration. Click on Configure SharePoint Learning Kit.
On the configuration page you will be able to add the database server and a new database. At the bottom click OK.
If you are using SQL Server Express edition you will need to put in the SQL instance name a well. Refer to this post if you are using this database. http://www.bfcnetworks.com/sharepoint-learning-kit-installing-on-single-server-farm/
There are 2 steps left, one is to add the web part and the other is to enable the site for SharePoint Learning Kit.
Deploy the SLK Assignment Web Part
Navigate in your browse to your SharePoint Site.
Click on Site Actions and then Site Settings at the top
Under Site Collection Administration you will see Site collection features. Click this link.
You are now given a list of all the features you can enable in your site collection. In the list you will see ‘SharePoint Learning Kit – Assignment List Web Part’. Click Activate to install the web part.
The web part is now enabled on your site.
Enable a site for SLK
Navigate in your browse to the SharePoint site you want to enable for SLK.
Click on Site Actions and then Site Settings at the top
Under Site Action you will see Manage site features. Click this link.
In the list you will notice there are 3 features that a site can be Activated.
- SharePoint Learning Kit
- SharePoint Learning Kit – Assign Self
- SharePoint Learning Kit – Assign to Site
Active these are you will be able to use SLK in your site.