Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation Uma Subramanian Programmer Writer Office Developer Documentation Microsoft Corporation Slide 1 Overview Installing and using the Project 2003 SDK Getting Started: Development for Project Demos: Using Custom Project Guides Integrating with InfoPath Developing a Managed Code PDS Extension Using the Custom Web Parts .NET Assembly Creating Managed COM Add-ins SDK Futures Summary of .NET Development for Project Slide 2 Project 2003 SDK How to Find It MDSN Online SDK Overview Technical Articles: Managed Code PDS Extension Office Developer Center Microsoft Download Center Global SDK download Downloads of some SDK sections: PDS Reference Project Guide 101 Project Server Web Parts and URL Options Portfolio Analyzer OLAP Extensions Slide 3 Installing and Using the Project 2003 SDK Slide 4 Getting Started Development for Project Clients Project Object Model: VBA Updated HTML Help in SDK .NET Automation through the Primary Interop Assembly (PIA) Custom Project Guides Custom Views COM Add-ins Visual Basic 6.0 Managed Code: Visual Basic .NET or C# OLE DB Provider (see pjoledb.htm) Slide 5 Getting Started Development for Project Server Project Data Service (PDS) XML-based API; accessible through SOAP or HTTP Extensible Service for Enterprise Data Maintenance (EDM) Object Link Provider (OLP) File-drop service or SOAP Basis for integration with WSS and SPS Project Server Web Parts URL options in Project Web Access Custom Web Parts .NET Assembly for SPS Slide 6 Sections in the SDK Overview Solution Starters Project Server Integration (cont.) Windows SharePoint Services Modify the PWA Site Definition Create Project Web Sites in WSS Using the Object Link Provider BizTalk Server Workflow Project Server to Siebel Portfolio Analyzer OLAP Extensions Enterprise Reporting Programming Tasks Create a COM Add-in (VB 6) Create Managed COM Add-in (C#) Extracting Timephased Data PDS Reference includes Service for EDM Project Guide 101 Use Project client with ODBC, or use Project Server database Custom Project Guides, Custom Views Project Server Integration Project Server Components and Authentication InfoPath Web Parts and URL Options Project Renamer PDS Extender (C#) References PWA Grid Control Project Server Security Object VBA Reference (updated) XML Schema Reference New or updated in April 2004 SDK Slide 7 Using Custom Project Guides Location-independent Project Guides Slide 8 Custom Project Guides Summary Location-independent protocols pgcontent:// path to XML schema for goal areas and tasks pgmainpage:// path to HTML layout file Add custom files directory to Trusted Sites Many ways to deploy: Project_Open or other macro (and set security) Configure manually, by templates, or in registry Slide 9 Integrating with InfoPath Creating Project Plans easily Slide 10 Integrating with InfoPath Summary User Services tier Microsoft Office InfoPath form Windows SharePoint Services form library Business Services tier JScript code runs when certain events occur on the form Data Services tier Access to project data via the PDS Slide 11 Developing a Managed Code PDS Extension Using the Extender Base Class Slide 12 PDS Extensions Summary Client App Registered COM objects or wrappers: 100 legacy + 100 version 2003 XML Legacy Extenders VB 6 : PDS.dll XMLRequest() Project Server 2003 Extenders VB 6 : C# : XMLRequestEx() Inherit from class Extender Implement XMLRequestEX() Install: manually or use PdsRegister.exe x1.dll Extender 1 Extender 2 Test: PDSTest.exe, PDSTest.NET.exe, or PsxDirect.exe Slide 13 x2.dll Extender 3 Using the Custom Web Parts .NET Assembly Adding Project Server Web Parts to SharePoint Portal Server Slide 14 Custom Web Parts Summary Customize PWA pages: SimpleUI and URL options Default Project Server Web Parts Custom Web Parts: Modify .dwp file for SharePoint Portal Server OR Use the Custom Web Part Assembly Install in the GAC Manages multiple unmodified .dwp files for SPS Needs no Project Server provisioning for WSS or SPS Create Web Part Page in shared documents Display in Project Web Access Use in Custom View for Project clients Slide 15 Creating Managed COM Add-ins Using COM Interop/PIA Slide 16 Managed COM Add-in Summary Using the Shared Add-in Template Adding Windows Form to your add-in Exposing your add-in using menus and toolbars Compiling and debugging the add-in Slide 17 Project SDK Futures Proposals for new articles Using the Project XML Schema and XSLT Project client automation using the PIA Using the OLP Soft links between two Project Servers Alert, or other action when one end moves Tips and tricks VBA code samples from the Project community Tool for EDM / PDS testing Suggestions and feedback: [email protected] Slide 18 Summary .NET Development for Project 2003 Leverage the .NET Framework XML processing (System.XML namespace) Data access (System.Data namespace) Thousands more built-in classes Improved security, reliability, performance, productivity, . . . Simplify development Encapsulate generic methods in custom classes Inherit base class functionality to create new solutions Use VBA, VB 6, OLE DB — where they make sense Slide 19 Microsoft Resources for Project Development Project Portal: Office Online http://office.microsoft.com/home/office.aspx?assetid=FX01085795&CTT=6&Origin=ES790020011033 Project Developer Center http://msdn.microsoft.com/project Getting Started with Project Development http://www.msdn.microsoft.com/office/understanding/project/gettingstarted/default.aspx?pull=/library/enus/odc_pj2003_ta/html/odc_pjgetstarted.asp Project 2003 Solutions Directory http://directory.partners.extranet.microsoft.com/advsearchresults.aspx?productscsv=2 Windows SharePoint Services SDK http://www.microsoft.com/downloads/details.aspx?familyid=aa3e7fe5-daee-4d10-980f-789b827967b0 TechNet Resource Kits http://www.microsoft.com/technet/itsolutions/reskits/rktmain.mspx Project 2003 Resource Kit (TechNet) http://www.microsoft.com/technet/prodtechnol/office/proj2003/default.mspx Office 2003 Resource Kit http://www.microsoft.com/resources/documentation/office/2003/all/reskit/en-us/default.mspx Microsoft Download Center (~160 downloads for Project) http://www.microsoft.com/downloads/results.aspx?NextOrPrevClause=3%7c%2b2%2f6%2f2004+1%3a30%3a04+PM&OSID=&productID=A 1D023A3-F612-4DA2-ACB8-FDA8F850D645&CategoryID=&freetext=&DisplayLang=en&DisplayEnglishAlso=&sortCriteria=date 50 Most Popular Downloads for Project http://www.microsoft.com/technet/downloads/project.mspx Slide 20 Project Community Resources Project MVP site http://mvps.org/project/ MPUG http://www.mpug.org/ Project Server Experts community site http://www.projectserverexperts.com/ Woody’s Project Watch http://www.woodyswatch.com/project/archtemplate.asp?current Project Newsgroups http://msdn.microsoft.com/newsgroups/default.aspx ?dg=microsoft.public.project ?dg=microsoft.public.project.server ?dg=microsoft.public.project.developer Slide 21 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.