کد:
http://blog.erikvl87.nl/2010/01/sharepoint-learning-kit-introduction/
Sharepoint Learning Kit Introduction
I will try to give you guys a small introduction on how to use the SharePoint Learning Kit for the first time. I didn’t had a lot of time to find out how everything works, but the basics are clear to me so let me try to explain it to you in a few steps.
What I am going to explain is the basics of how to create a class site with a teacher (SLK Instructor) and some students (SLK Learner), how to assign a assignment as a teacher and how students can hand in their work.
Creating users
I am running SharePoint on a single server without Active Directory, so i created these users on the local machine. If you are running a Active Directory, you can create these users their instead. Please create users called:
- student1
- student2
- teacher
Creating a class site
- At any site level, create a new Team Site by clicking on Site Actions – Create Site
Please use the following settings for this page:
Title: Class A
URL: class_a
Permissions: Use unique permissions
Click on Create - Skip the next page called Set Up Groups for this Site by navigating to the Class A site that you can find at the top of the page
- At this new site, open Site Actions – Site Settings and go to Site features (Site Administration) and activate the SharePoint Learning Kit
- Go back to Site Settings and go to Advanced permissions (Users and Permissions).
- Click on New (Add Users) and fill in: student1; student2
Give permission: Give users permission directly and select the Read and SLK Learner permissions. Click OK. - Click on New (Add Users) and fill in: teacher
Give permission: Give users permission directly and select the Contribute and SLK Instructor permissions. Click OK.
Adding the My Assignments Web Part
- Go back to the Class A site you just created, and select Site Actions – Edit Page
- Press the Add a Web Part button
- Select the My Assignments Web Part, it can be found under Miscellaneous and click on Add
- Press the Exit Edit Mode on the top-right corner of the page.
Enabling Document Version History
The library where you upload your assignments should have document version history enabled. Not enabling this can cause unpredictable results.
- At the Class A site go to the Shared Documents library
- Go to Settings – Document Library Settings
- Go to Versioning settings (General Settings)
- Select Create major versions and press OK
Adding a Assignment
At this stage you are finally ready to add a assignment. The assignment i am going to upload is a single Word document.
- Log into SharePoint with the teacher account you created earlier
- Go to the Shared Documents library on the Class A site
- Upload the assignment (Word document)
- Click the menu open next to the uploaded document and choose for E-Learning Actions
- Click on the text Class A (Current site)
- Fill in the maximum amount of points the student can earn and the due date
- Select both students at the bottom of the page
- Click OK
- Click on Navigate to site: Class A
You now see the assignment in the My Assignments web part. You will also see how many students already submitted their work, for now it shows 0 out of 2.
Student submitting their work
- Log into SharePoint with the first student account you created earlier
- Navigate to the Class A site
- The student can see the assignment that the teacher uploaded. Click on the assignment name and click on Begin Assignment
- The document that the teacher uploaded now opens. Close it again and go back to the Class A site.
- Click on Submit File(s), this can be found at the My Assignments web part.
- The student can now upload their work, upload a Word document called answers1.docx.
- You will get a popup saying: The Assignment file(s) submission was completed successfully.
Follow these steps again with the second student account.
Grade the work of the students
- Now log into SharePoint again with the teacher account
- Go to the Class A site
- Click on the assignment title
- Click on Submitted to view their work
- Grade their work by filling in the fields and select the Return action.
- Click Save followed by Close
Student viewing his grade
- Log into SharePoint with one of the student accounts
- Go to the Class A site
- Click on the Returned tab in the My Assignments Web Part
- Click on the assignment title
The student can now see their grade and the teacher’s comments.