5/25/2010

SharePoint 2010: Part 5: Preparing for 70-573 TS Microsoft SharePoint 2010, Application Development

(Start here: http://techtrainingnotes.blogspot.com/2010/05/sharepoint-2010-preparing-for-70-573-ts.html)

 

Wow! Workflows, custom SPD workflow actions, event receivers, timer jobs, BCS and ECM to boot… all in one section and it only represents 19% of the exam!  Sounds like it should be an exam all by itself.

(The workflow section refers to something called “inititation data” and “corelation tokens”, but I think I study up on “initiation data” and “correlation tokens”.)

 

Good news for experienced SharePoint 2007 developers… the core object model and techniques has not changed in these topics too much. But, there are new tools and a number of new features.  So don’t panic. Run though what you do know, but with Visual Studio 2010 (and the VS deploy wizards) and SP 2010, then take a look at what’s new, especially BDC.

 

Skills Being Measured:
Developing Business Logic (19%)

Implement a custom workflow in Visual Studio 2010

  • This objective may include but is not limited to: work with inititation data or association data to create a SharePoint task, extend a workflow imported from SharePoint Designer 2010, use a HandleExternalEvent and CallExternalMethod to interact with a custom local service, work with inititation data or association data in a site workflow, corelation token
  • This objective does not include: trivial cases such as workflows with no custom actions, initiation data, association data.

Create a custom workflow action

  • This objective may include but is not limited to: create a custom SPD action, create and add a custom activity to a Visual Studio workflow, define an action.xml file

Create and implement event receivers

  • This objective may include but is not limited to: accessing event properties, list, item, site, email, avoiding recursion, cancelling events, choosing synchronization state

Customize Enterprise Content Management (ECM)

  • This objective may include but is not limited to: creating a content type that inherit from appropriate parent, creating and implementing a custom publishing field control that is page mode aware, activating a master page programmatically including token usage
  • This objective does not include: page layouts, formatting

Create, implement and debug a Timer Job

  • This objective may include but is not limited to: configuration, programmatic scheduling, queuing, attaching debugger to the Timer service

Create and modify Business Connectivity Service model in Visual Studio 2010

  • This objective may include but is not limited to: create a BDC model in Visual Studio 2010, define insert, update and delete methods, create and read items, make data searchable

Manage Users, Groups, Permissions

  • This objective may include but is not limited to: SPGroups, SPUser, permission inheritance, all securable objects, SPRoleDefinition, SPRole, SPRoleAssignment

 

Notes:

 

Workflow

If you have not worked with SharePoint 3.0 workflows go and find any of the good books or online tutorials and videos.  Then start here: http://msdn.microsoft.com/en-us/library/ee537015.aspx

What’s new in 2010?

  • New activities/actions
  • Site workflows (in addition to list workflows)
  • New tools in Visual Studio 2010, including ASPX association and initiation forms
  • Import from SharePoint Designer 2010
  • Major changes in how SharePoint Designer creates workflows (the Skills Measured list does not include creating SPD workflows, but does include importing them, so you will need to know a little about creating them!)

So… here's the things you need to know (or at least my first guesses!) …

 

Custom workflow actions (for SPD):

  • Does not appear to have really changed from SP 2007
  • Create an activity for Visual Studio workflows, create a .actions file, then update web.config

Event receivers:

  • New places to use event handlers… see here and here
  • Largely the same as 2007
  • New templates/wizards in Visual Studio 2010

ECM, Content Types, custom publishing fields, master pages:

  • I think I got the master page topic covered in my prep in Part 4.
  • New templates/wizards in Visual Studio 2010

Timer jobs:

  • New ways to manage timer jobs in Central Administration and PowerShell
  • Know about scheduling and OWSTIMER.EXE

BCS:

  • BCS tools in Visual Studio
  • Now part of SharePoint Foundation (BDC was part of MOSS Enterprise)
  • Supports caching and offline
  • CRUD – Create, Read, Update, Delete
  • External lists
  • Now support BLOBs
  • SharePoint Designer support to create external lists
  • See the BCS Resource Center for lots of useful content, videos, articles

 

Users, Groups, Permissions:

  • Other than a small change to SPAlert (email vs SMS), the object model looks the same as for 2007.

 

Links:

Note: Many of these links include a link to the 2007 version of the documentation, so also check the 2007 version for “Community Comments”.

  • Workflows

MSDN: What's New: Workflow Enhancements
http://msdn.microsoft.com/en-us/library/ee537015.aspx

MSDN: Workflows in SharePoint Server 2010
http://msdn.microsoft.com/en-us/library/ms549489.aspx

MSDN: Workflow Development for SharePoint Foundation
http://msdn.microsoft.com/en-us/library/ms414613.aspx 

MSDN: Correlation Tokens in Workflows
http://msdn.microsoft.com/en-us/library/ms475438.aspx

  • Custom Workflow Actions

Make a Custom Activity available to SharePoint Designer 2010
http://www.chaholl.com/archive/2010/03/13/make-a-custom-activity-available-to-sharepoint-designer-2010.aspx

Walkthrough: Create a Custom Site Workflow Activity
http://msdn.microsoft.com/en-us/library/ee231574.aspx

  • Event Receivers

New Event Handlers in SharePoint 2010
http://philwicklund.com/archive/2009/10/20/new-event-handlers-in-sharepoint-2010.aspx

MSDN: Event Receiver Methods Compared: Windows SharePoint Services 3.0 and SharePoint Foundation 2010
http://msdn.microsoft.com/en-us/library/ff407299.aspx

How to: Create an Event Receiver
http://msdn.microsoft.com/en-us/library/ee231563.aspx

Example: Creating a List Item Event Handler
http://msdn.microsoft.com/en-us/library/ms437502.aspx

How to: Create an Event Receiver for a Specific List Instance
http://msdn.microsoft.com/en-us/library/ff398052.aspx

  • Timer Jobs

Creating Custom Timer Jobs in Windows SharePoint Services 3.0
(2007) http://msdn.microsoft.com/en-us/library/cc406686%28office.12%29.aspx

  • BCS

MSDN: Microsoft Business Connectivity Services
http://msdn.microsoft.com/en-us/library/ee556826.aspx

Sharepoint 2010 BCS new features
http://mikeren.wordpress.com/2010/03/22/sharepoint-2010-bcs-new-features/

First steps on the SharePoint 2010 BCS path
http://bloggingabout.net/blogs/jpsmit/archive/2010/02/12/first-steps-on-the-sharepoint-2010-bcs-path.aspx

Using Business Connectivity Services(BCS) In SharePoint 2010 For Connecting To MS CRM 4.0
http://malikhan.wordpress.com/2010/01/24/using-business-connectivity-servicesbcs-in-sharepoint-2010-for-connecting-to-ms-crm-4-0/

SP 2010: Getting started with Business Connectivity Services (BCS) in SharePoint 2010
http://www.zimmergren.net/archive/2010/01/18/sp-2010-getting-started-with-business-connectivity-services-bcs-in-sharepoint-2010.aspx

MSDN: BCS Resource Center | SharePoint 2010
http://msdn.microsoft.com/en-us/sharepoint/ff660755.aspx

  • Manage Users, Groups, Permissions

Overview of SharePoint security and securable objects: Plan site permissions (SharePoint Server 2010)
http://technet.microsoft.com/en-us/library/cc262778.aspx

Overview of SharePoint security and securable objects: Plan site permissions (SharePoint Foundation 2010)
http://technet.microsoft.com/en-us/library/cc287752.aspx


How-to’s, Tutorials, etc.

 

HOL07 - Developing a SharePoint 2010 Workflow with Initiation Form in Visual Studio 2010
http://www.microsoft.com/downloads/details.aspx?FamilyID=c010fc68-b47f-4db6-b8a8-ad4ba33a35c5&displaylang=en

Module 7: Developing Business Processes with SharePoint 2010 Workflows
http://msdn.microsoft.com/en-us/sharepoint/ee513154.aspx

Overview: Creating Workflows with SharePoint Designer 2010, InfoPath 2010 and Visio 2010
http://channel9.msdn.com/posts/matthijs/Overview-Creating-Workflows-with-SharePoint-Designer-2010-InfoPath-2010-and-Visio-2010/

Integrating SharePoint 2010 Workflows into Backend Systems Using External Data Exchange Services
http://channel9.msdn.com/posts/matthijs/Integrating-SharePoint-2010-Workflows-into-Backend-Systems-Using-External-Data-Exchange-Services/ 

 

Video: How Do I: Create Event Receivers for SharePoint 2010 in Visual Studio 2010?
http://msdn.microsoft.com/en-us/vcsharp/ff623003.aspx

 

 

.

1 comment:

Keith Lopez said...

I am currently preparing for the MCTS SharePoint 2010 App Dev exam and the material and links, you have put together is absolutely awesome!!! Thanks so much.

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.