Slide 1 .NET Development for .NET Development for Project 2003 Project 2003 Samples from the Project 2003 Samples from the Project 2003 SDK SDK Jim Corbin Jim Corbin Programmer Writer Programmer Writer Office Developer Documentation Office Developer Documentation Microsoft Corporation Microsoft Corporation Uma Subramanian Uma Subramanian Programmer Writer Programmer Writer Office Developer Documentation Office Developer Documentation Microsoft Corporation Microsoft Corporation
22
Embed
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Slide 1
.NET Development for.NET Development forProject 2003Project 2003
Samples from the Project 2003 SDKSamples from the Project 2003 SDK
Microsoft Download CenterMicrosoft Download Center Global SDK downloadGlobal SDK download Downloads of some SDK sections:Downloads of some SDK sections:
PDS ReferencePDS Reference Project Guide 101Project Guide 101 Project Server Web Parts and URL OptionsProject Server Web Parts and URL Options Portfolio Analyzer OLAP ExtensionsPortfolio Analyzer OLAP Extensions
Project Server IntegrationProject Server Integration Project Server Components and Project Server Components and
AuthenticationAuthentication InfoPathInfoPath Web Parts and URL OptionsWeb Parts and URL Options
Project Server Integration (cont.)Project Server Integration (cont.) Windows SharePoint ServicesWindows SharePoint Services
Modify the PWA Site DefinitionModify the PWA Site Definition Create Project Web Sites in WSSCreate Project Web Sites in WSS Using the Object Link ProviderUsing the Object Link Provider
Programming TasksProgramming Tasks Create a COM Add-in (VB 6)Create a COM Add-in (VB 6) Create Managed COM Add-in (C#)Create Managed COM Add-in (C#) Extracting Timephased DataExtracting Timephased Data
Use Project client with ODBC, orUse Project client with ODBC, oruse Project Server databaseuse Project Server database
Location-independent protocolsLocation-independent protocols pgcontent://pgcontent:// path to XML schema for goal areas path to XML schema for goal areas
and tasksand tasks
pgmainpage://pgmainpage:// path to HTML layout filepath to HTML layout file
Add custom files directory to Trusted SitesAdd custom files directory to Trusted Sites
Many ways to deploy:Many ways to deploy: Project_Open Project_Open or other macro (and set security)or other macro (and set security)
Configure manually, by templates, or in registry Configure manually, by templates, or in registry
Slide 10
Integrating with InfoPathIntegrating with InfoPath
Integrating with InfoPathIntegrating with InfoPathSummarySummary
User Services tier User Services tier Microsoft Office InfoPath form Microsoft Office InfoPath form Windows SharePoint Services form libraryWindows SharePoint Services form library
Business Services tier Business Services tier JScript code runs when certain events JScript code runs when certain events
occur on the formoccur on the form
Data Services tier Data Services tier Access to project data via the PDSAccess to project data via the PDS
Slide 12
Developing a Managed Code Developing a Managed Code PDS ExtensionPDS Extension
Using the Extender Base ClassUsing the Extender Base Class
Slide 13
PDS ExtensionsPDS ExtensionsSummarySummary
Registered COM objects or wrappers: Registered COM objects or wrappers: 100 legacy + 100 version 2003 100 legacy + 100 version 2003
Project Server 2003 ExtendersProject Server 2003 ExtendersVB 6 :VB 6 : XMLRequestEx()XMLRequestEx()C# :C# : Inherit from class Inherit from class ExtenderExtender
Implement Implement XMLRequestEX()XMLRequestEX()
Install: Install: manually or use manually or use PdsRegister.exePdsRegister.exe
Test: Test: PDSTest.exePDSTest.exe, , PDSTest.NET.exePDSTest.NET.exe, or , or PsxDirect.exePsxDirect.exe
PDS.dllPDS.dllPDS.dllPDS.dll
Extender 1Extender 1
Extender 2Extender 2
Extender 1Extender 1
Extender 2Extender 2
Extender 3Extender 3Extender 3Extender 3
Client AppClient AppClient AppClient App
XMLXML
x1.dllx1.dll
x2.dllx2.dll
Slide 14
Using the Custom Web Parts Using the Custom Web Parts .NET Assembly.NET Assembly
Adding Project Server Web Parts toAdding Project Server Web Parts toSharePoint Portal ServerSharePoint Portal Server
Slide 15
Custom Web PartsCustom Web PartsSummarySummary Customize PWA pages: Customize PWA pages: SimpleUISimpleUI and URL options and URL options Default Project Server Web PartsDefault Project Server Web Parts Custom Web Parts:Custom Web Parts:
Modify Modify .dwp.dwp file for SharePoint Portal Server file for SharePoint Portal ServerOROR
Use the Custom Web Part AssemblyUse the Custom Web Part Assembly Install in the GACInstall in the GAC Manages multiple unmodified .dwp files for SPSManages multiple unmodified .dwp files for SPS Needs no Project Server provisioning for WSS or SPSNeeds no Project Server provisioning for WSS or SPS
Create Web Part Page in shared documentsCreate Web Part Page in shared documents Display in Project Web AccessDisplay in Project Web Access Use in Custom View for Project clientsUse in Custom View for Project clients
Slide 16
Creating Managed COM Creating Managed COM Add-insAdd-ins
Using COM Interop/PIAUsing COM Interop/PIA
Slide 17
Managed COM Add-inManaged COM Add-inSummarySummary
Using the Shared Add-in TemplateUsing the Shared Add-in Template
Adding Windows Form to your add-inAdding Windows Form to your add-in
Exposing your add-in using menus and Exposing your add-in using menus and toolbarstoolbars
Compiling and debugging the add-inCompiling and debugging the add-in
Slide 18
Project SDK FuturesProject SDK Futures Proposals for new articlesProposals for new articles
Using the Project XML Schema and XSLTUsing the Project XML Schema and XSLT Project client automation using the PIAProject client automation using the PIA Using the OLPUsing the OLP Soft links between two Project ServersSoft links between two Project Servers
Alert, or other action when one end movesAlert, or other action when one end moves
Tips and tricksTips and tricks VBA code samples from the Project communityVBA code samples from the Project community
Tool for EDM / PDS testingTool for EDM / PDS testing
Suggestions and feedback:Suggestions and feedback:[email protected]@microsoft.com
Suggestions and feedback:Suggestions and feedback:[email protected]@microsoft.com
Slide 19
SummarySummary.NET Development for Project 2003.NET Development for Project 2003 Leverage the .NET FrameworkLeverage the .NET Framework
XML processing (System.XML namespace)XML processing (System.XML namespace)
Data access (System.Data namespace)Data access (System.Data namespace)
Thousands more built-in classesThousands more built-in classes
Getting Started with Project DevelopmentGetting Started with Project Developmenthttp://www.msdn.microsoft.com/office/understanding/project/gettingstarted/default.aspx?pull=/library/en-us/odc_pj2003_ta/html/odc_pjgetstarthttp://www.msdn.microsoft.com/office/understanding/project/gettingstarted/default.aspx?pull=/library/en-us/odc_pj2003_ta/html/odc_pjgetstarted.asped.asp
Microsoft Download Center (~160 downloads for Project)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=Ahttp://www.microsoft.com/downloads/results.aspx?NextOrPrevClause=3%7c%2b2%2f6%2f2004+1%3a30%3a04+PM&OSID=&productID=A1D023A3-F612-4DA2-ACB8-FDA8F850D645&CategoryID=&freetext=&DisplayLang=en&DisplayEnglishAlso=&sortCriteria=date1D023A3-F612-4DA2-ACB8-FDA8F850D645&CategoryID=&freetext=&DisplayLang=en&DisplayEnglishAlso=&sortCriteria=date
50 Most Popular Downloads for Project 50 Most Popular Downloads for Project http://www.microsoft.com/technet/downloads/project.mspxhttp://www.microsoft.com/technet/downloads/project.mspx