SharePoint Portfolio

Post on 26-May-2015

97 views 0 download

Tags:

Transcript of SharePoint Portfolio

DANIEL J. SABLOSKYSharePoint Portfolio

djsablosky@msn.com(614) 507-1014

SharePoint Quiz Application

The quiz is based on a design by Brandon Clark detailed at http://blogs.technet.com/b/brenclarke/archive/2009/04/14/creating-a-quiz-web-application-using-sharepoint-designer.aspx and customized with added functionality in order to meet client requirements.

The quiz is currently an InfoPath. Some users have trouble using InfoPath in certain environments. Also, the lack of business continuity services precludes SharePoint from getting test results from an outside environment.

The quiz web application is originally written with SharePoint

Designer without any custom code entirely in the SharePoint environment. After the quiz web application is built, customized code is added (an event receiver, a visual web part, and a PowerShell script) to help with additional requirements and the management of the various lists.

SharePoint Lists

Quiz List

Answers List

Email List

Sample HTML and JavaScript

Web Part Pages

Artifacts Management The synchronous Item Adding method of the event receiver deletes previous

entries in the Answers list in case the user hits the previous button.

The asynchronous Item Added method adds the username to the Trained Admins list if that user passed this particular quiz. It updates the date if the username has already been added to this list.

A custom web part or aspx page shows the missed questions, the user’s answers, and a hyperlink for more information for each missed question. Correct answers are displayed if the user missed any questions but still passed.

The event receiver also sends an email to the user if the exam was passed. The components of the email are provided by the Email Information list.

A PowerShell script deletes the items in the Answers list older than a given number of days provided as a parameter. It is run as a scheduled Windows task.

Event Receiver Sample Code

Visual Web Part Sample Code

Sample PowerShell Script

Site Administration Reports

The Site Administration Reports are currently provided by third party software on the Site Settings pages in the intranet farm. The software as well as Web Analytics are not delivered in the extranet farm.

A feature event receiver adds a custom site permissions list as well as a link to an application page with a XSLT list view web part.

After an item is added to a list, an asynchronous Item Added method in an event receiver adds a CSV attachment. This attachment is the Site Permissions report.

Sample Project Code

Feature Receiver Sample Code

Permissions Report Sample Code

Site Permissions Sample Code

Site Administrator Features

User Permission Sample Code

User Permission Report

Custom Timer Jobs Report PowerShell Script