Upload
alexander-burton
View
4.700
Download
4
Tags:
Embed Size (px)
Citation preview
(c) 2011 Microsoft. All rights reserved.
THE SHAREPOINT DEVELOPERS GUIDE TO PROJECT SERVER
Brian FarnhillSolutions Architect Extelligent Designblog.brianfarnhill.com
Alexander BurtonSenior Consultant OBSwww.epmsource.com
SESSION CODE: OFS310
(c) 2011 Microsoft. All rights reserved.
“It’s only a Service Application”
(c) 2011 Microsoft. All rights reserved.
Agenda
► An introduction to Project Server Development
► Three common customisation scenarios► Call to Action & Resources► Questions and Answers
(c) 2011 Microsoft. All rights reserved.
What is Project Server?
Communities
Search
Composites
ContentInsights
Sites
Portfolio Selection
Schedule Management
BI & Reporting
Resource Management
Project Team Collaboration
Demand Management
The Business Collaboration Platform for the Enterprise and the Web
Synch to SharePoint
(c) 2011 Microsoft. All rights reserved.
Project Server Architecture
(c) 2011 Microsoft. All rights reserved.
WFE
App
Serv
erM
S SQ
L
Draft Published Reporting Archive
Web Services
Data Access Layer (DAL)
Project Professional IE
Project Web Application
3rd Party Application
Business Objects
Even
ts
Que
ue
WCF Forwarder
Web ServiceForwarder3rd Party
ApplicationSPF and SPS
ConfigContent
SPF and SPS
WCF Service
(c) 2011 Microsoft. All rights reserved.
What to tell the developers
► Project Server is built on SharePoint, so a lot of the same rules apply
► The Project Server SDK is your new best friend
► Understand when to build and when to customise
(c) 2011 Microsoft. All rights reserved.
SharePoint vs Project Server
Identical
• Ribbon• JavaScript• Ajax JSGrid• Silverlight• Server Object
Model• Event Handling• Solution
packaging
Similar
• Client Object Model
• Workflow• LINQ• Open Data
(REST)
Different
• Dedicated Reporting Database
• Multiple OLAP Cubes
• Supported Developer environments
(c) 2011 Microsoft. All rights reserved.
BUILDING DEMAND MANAGEMENT WORKFLOWS
Common Customisation Scenarios
Demand Management in Project Server
Stages
Phases
Workflow
PDP
(c) 2011 Microsoft. All rights reserved.
Project Server workflows
► Built on top of SharePoint Workflow
► Developed in Visual Studio 2010
► Deeply tied with Project Server Configuration
► Associated with a Enterprise Project Type
(c) 2011 Microsoft. All rights reserved.
Propose a Project Idea
Does the Project require
funding?
Team Lead
Approval
Project Approved
Project Cancelled
Yes
No Approved Rejected
(c) 2011 Microsoft. All rights reserved.
DEMONSTRATIONWorkflow with Visual Studio 2010
(c) 2011 Microsoft. All rights reserved.
Workflow considerations
► Project Server allows workflows to be restarted– Need to consider coding ‘Skip to Stage’ logic
► Must keep workflow and PS configuration in sync– Playbooks (Project Resource Kit)– DM Import / Export Solution Starter
► Third Party solutions exist
► Leverage the solution starters if you can– Dynamic Workflow – Morphing Workflow– Visualisation
LEVERAGING THE PROJECT SERVER INTERFACE
Common Customisation Scenarios
(c) 2011 Microsoft. All rights reserved.
(c) 2011 Microsoft. All rights reserved.
PSIAdmin
Events
Calendar
Cube Admin
Custom Fields
Project
Lookup Table
Notifications
Object Link Provider
Archive
Queue
Resource
Security
Resource Plan
Statusing
Timesheet
WSS Interop
Driver
Portfolio Analysis
Workflow
(c) 2011 Microsoft. All rights reserved.
Interfaces to the PSI
► Two interfaces – ASMX web services and WCF Services
► ASMX behave similarly to Project Server 2007– Must specify ?wsdl when adding reference– References must be made through the web app
URL– Can’t use localhost as the URL
► Project Professional and PWA use WCF► WCF is recommended for new applications► Object models are identical
(c) 2011 Microsoft. All rights reserved.
Working with the PSI
► Services exist within the SharePoint Web Services application (because it’s just a service app!)
► These can not be called directly because of the claims-based authentication and custom WCF bindings on the web app
► Project Server provides a router service through the main PWA web app to set as an end point
(c) 2011 Microsoft. All rights reserved.
Common scenarios for PSI use
► Pulling data from the reporting database► Consolidating PSI calls► Transforming data to pass to a third party
app► Extending LOB systems with Project Server
data
(c) 2011 Microsoft. All rights reserved.
DEMONSTRATIONLeveraging the Project Server Interface
Project Server Interface Considerations► Love thy SDK and the great example code
in it► Remember to take the queue into account► Plan use of the PSI carefully to avoid
adding performance overheads to your servers
(c) 2011 Microsoft. All rights reserved.
(c) 2011 Microsoft. All rights reserved.
PROJECT WORKSPACESCommon Customisation Scenarios
(c) 2011 Microsoft. All rights reserved.
Project workspaces
(c) 2011 Microsoft. All rights reserved.
Customising workspaces
► Workspaces are just SharePoint site templates
► Inherit from the PWS site definition► Site templates can be saved through the
UI or hand crafted in Visual Studio► Custom features can be added to
templates to build in additional functionality to workspaces
(c) 2011 Microsoft. All rights reserved.
DEMONSTRATIONWorkspace customisation
(c) 2011 Microsoft. All rights reserved.
Workspace considerations
► Workspaces are based on a template– Limitations, such a web part connections will exist
► Risk and Issue Lists – Don’t delete items– Don’t change choice field values– Instead override the content types– Leverage calculated fields
► Bulk Update Project Sites is your friend
(c) 2011 Microsoft. All rights reserved.
To review….
► Many similarities► Three common customisation scenarios– Workflow– PSI– Workspaces
► But where to next?
(c) 2011 Microsoft. All rights reserved.
Call to action
► Install the SDK– http://bit.ly/PS2010SDK
► Review the Developer Curriculum– http://bit.ly/PSDevCur
► Evaluate Project Server 2010– http://bit.ly/PSEval
(c) 2011 Microsoft. All rights reserved.
Development Resources
► Getting started with development for Project 2010 http://msdn.microsoft.com/en-us/library/gg607685.aspx
► Project Server 2010 Programming Tasks http://msdn.microsoft.com/en-us/library/ee767703.aspx
► Developing Project Server Workflows http://msdn.microsoft.com/en-us/library/ee767694.aspx
► PSI Reference http://msdn.microsoft.com/en-us/library/ms488627.aspx
► Project 2010 SDK http://msdn.microsoft.com/en-us/library/ms512767.aspx
► Project 2010 Resource Kit http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22810
► Project Server 2010 Solution Starters http://archive.msdn.microsoft.com/P2010SolutionStarter
► Project 2010 Customisation and Programming Forum http://social.msdn.microsoft.com/Forums/en-US/project2010custprog /
Key Project Resources http://www.microsoft.com/project
Enterprise Project Management Microsoft Project EPM Solutions and Scenarios Microsoft EPM Partner Portal Find a Partner
Project Desktop Microsoft Project on Office OnlineEasier with Project: Project Desktop Home Page Project Professional and Office 365
IT Professionals /Administrators - TechNetProject TechCenter (2007, 2010…)Project Solution StartersCompiled Help File Project Server Compiled Help File SharePointProject Server 2010 Technet Pivot
Developers Project Developer Home Page Getting Started with Development for Project 2010Project Software Development KitProject Resource Kit
Team Blogs Individual Blogs
Project TeamProject ProgrammabilityProject AdministrationEPM Content Publishing NewsSharePoint Team
Brian Smith – Project SupportDoug McBlog – Project PartnersChristophe Fiessinger – Project NewsJan Kalis - Project Partner
Forums Ask A QuestionTwitter http://twitter.com/MSFTProject Facebook Microsoft Project
Videos www.youtube.com/MSFTProject
(c) 2011 Microsoft. All rights reserved.
“It’s only a Service Application”
(c) 2011 Microsoft. All rights reserved.
QUESTION & ANSWER SESSION
CONTENT SLIDE
• 3rd Annual Community SharePoint Conference
• Business and Technical Tracks, all levels
• Superb Internationally Renowned SharePoint Experts
• Discount for Tech.Ed attendees - $675.00 (full price $795.00)
• Register: www.sharepointconference.com.au• Enter Discount Code TECHED
Enrol in Microsoft Virtual Academy TodayWhy Enroll, other than it being free?The MVA helps improve your IT skill set and advance your career with a free, easy to access training portal that allows you to learn at your own pace, focusing on Microsoft technologies.
What Do I get for enrolment?► Free training to make you become the Cloud-Hero in my Organization► Help mastering your Training Path and get the recognition► Connect with other IT Pros and discuss The Cloud
Where do I Enrol?
www.microsoftvirtualacademy.com
Then tell us what you think. [email protected]
(c) 2011 Microsoft. All rights reserved.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this
presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.