This blog focuses on customizations and programming for Project Web App, Project Server, Project Professional and Project Standard. Includes User Interface (UI) customizations, Project Server Interface (PSI) and Visual Basic for Applications (VBA) Programming. It also covers Business Intelligence.
Hello,
With the Project 2010 release, we have deprecated the Project Guide content. For the end user, this means there is no way through the UI to show the Project Guide. However, there is away to display the Project Guide through the OM. So if you have your own custom guide, you can still use it with a bit of work. This post will show you how to do this in three easy steps.
The first step is to write a method that turns the guide on and off. To do this, we need to have a guide, so I am going to use the one that we shipped in Project 2007. However, the default Project Guide files need some changes:
The folder structure should be flattened. All Project Guide files unzip to a subfolder named DefaultProjectGuideFiles.
The gbui:// protocol is removed. The custom "goal-based user interface" protocol and Project Guide resources are not installed with Microsoft Project 2010. For example, the following line in MainPage.htm: <script src="gbui://mainpage.js" language="JScript"></script>
... is changed to: <script src=mainpage.js" language="JScript"></script>
You can find the modified Project Guide files in the Project 2010 SDK download:
http://www.microsoft.com/downloads/details.aspx?FamilyID=46007f25-b44e-4aa6-80ff-9c0e75835ad9&displaylang=en
Once you have the guide downloaded and extracted into a directory, for example, C:\PG\DefaultProjectGuideFiles, you need to author the following method in VBA:
Sub Guide() If (Application.DisplayProjectGuide = False) Then OptionsInterfaceEx DisplayProjectGuide:=True, _ ProjectGuideUseDefaultFunctionalLayoutPage:=False, _ ProjectGuideUseDefaultContent:=False, _ ProjectGuideContent:="C:\PG\DefaultProjectGuideFiles\GBUI.XML", _ ProjectGuideFunctionalLayoutPage:="C:\PG\DefaultProjectGuideFiles\MAINPAGE.htm" Else OptionsInterfaceEx DisplayProjectGuide:=False End If End Sub
Update the ProjectGuideContent and ProjectGuideFunctionalLayoutPage to point your Project Guide content.
The next step is to create a button in the ribbon. In this example, I will add a button to the View tab:
Here is the code to do this:
Private Sub AddGuideRibbonButton() Dim ribbonXML As String ribbonXML = "<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"">" ribbonXML = ribbonXML + " <mso:ribbon>" ribbonXML = ribbonXML + " <mso:qat/>" ribbonXML = ribbonXML + " <mso:tabs>" ribbonXML = ribbonXML + " <mso:tab idQ=""mso:TabView"">" ribbonXML = ribbonXML + " <mso:group id=""Project_Guide"" label=""Project Guide"" autoScale=""true"">" ribbonXML = ribbonXML + " <mso:button id=""Project_Guide_Btn"" label=""Guide"" imageMso=""CategoryCollapse"" onAction=""Guide""/>" ribbonXML = ribbonXML + " </mso:group>" ribbonXML = ribbonXML + " </mso:tab>" ribbonXML = ribbonXML + " </mso:tabs>" ribbonXML = ribbonXML + " </mso:ribbon>" ribbonXML = ribbonXML + "</mso:customUI>" ActiveProject.SetCustomUI (ribbonXML) End Sub
The last step is to hook up loading the button to an event. For this example, I am doing on the Project Open event, however, you may want to choose a different event based on your scenario.
Private Sub Project_Open(ByVal pj As Project) AddGuideRibbonButton End Sub
At this point, we have a working Project Guide in Project 2010:
Note: Because the Project Guide is an add-in, Project 2010 adds the Tasks, Resources, Track, and Report drop-down menus to the Add-Ins tab on the ribbon.
Hope this helps,
Chris Boyd
It’s my pleasure to announce series of upcoming Project 2010 webcasts for developers and BI specialists - spanning from extending User Interface of Project 2010 to deep drill down on workflow creation and extending the BI using Excel Services and Performance Point Services!
We would like to also announce the Project 2010 Solution Starters! They were created to help in deployment and customization of Project Server 2010. This set of Solution Starters is focusing on Demand Management experience in Project 2010. The Solution Starters source code will be publicly available via MSDN Code Gallery - so anyone can extend the experience! In this regard we offer two series of Web Casts – the introductory series as well as deep code drill-down. Please note the source code and additional documents will be available after the respective webcast.
· Project 2010 Developer webcasts
· Project 2010 Business Intelligence webcasts
· Project Developer “Real-World Solutions” series webcasts
· Additional Resources for Project 2010
· Q&A
(yes – this timeline was created using Project Professional 2010)
Title
Level
Date
Abstract
Presenter
URL
MSDN Webcast: Project 2010 and Project Server 2010 Programmability
200
On Demand
In this webcast, we provide an overview of the programmability enhancements that are in the upcoming versions of Microsoft Office Project 2010 and Microsoft Office Project Server 2010. We highlight Windows Communication Foundation, Ribbon programmability, and the new programmability features such as Workflow. We also discuss writing backwards compatibility for Microsoft Office Project 2007 applications.
Chris Boyd, Program Manager, Microsoft Corporation
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=7432
MSDN Webcast: Project 2010 JS Grid Extensibility (Part 1 of 3): Project Web App
400
The first in a series of webcasts on extending grid pages in Project Web App it will focus on initializing custom grid code and interactions between the grid and the Project Web App Ribbon. In particular we will see how to add additional functionality to the project center.
Pat Malatack, Program Manager, Microsoft Corporation
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=13327
MSDN Webcast: Project 2010 JS Grid Extensibility (Part 2 of 3): Project Web App
This second grid talk will focus on the use of events and delegates to interact with the timesheet grid in a way that allows one to at custom features and functionality to that page
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=13328
MSDN Webcast: Project 2010 JS Grid Extensibility (Part 3 of 3): Project Web App
In this final grid extensibility talk we will walk through even more grid customizations including adding custom commands to the column header dropdown and custom row header states
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=13329
MSDN Webcast: Project 2010 User Interface Customizations
300
This presentation will focus on Project Client user interface customization. In particular, the new Ribbon interface and custom task panes. It will also introduce the Project 2010 VSTO add-in and show how to use the Ribbon designer.
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449001&Culture=en-US
MSDN Webcast: Project 2010 Workflow Deep Dive (Part 1 of 2): PWA & Admin Experience
Thursday, May 13, 2010 1:00 P.M.–2:00 P.M. Pacific Time
This web Cast will cover technical details of how workflows work within Project Server 2010. We will go into how we are built ontop of sharepoint, how workflows connet with PWA, and what customizations can be done through UI level.
Sam Chung, Program Manager, Microsoft Corporation
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449005&Culture=en-US
MSDN Webcast: Project 2010 Workflow Deep Dive (Part 2 of 2): Workflows in Visual Studio
Tuesday, May 26, 2010 1:00 P.M.–2:00 P.M. Pacific Time
This web Cast will cover the end to end story of creating workflows within Visual Studio. We will discussing how to setup Visual Studio, how to create a basic workflow, and go over the different activities a developer will need in order to create a Project Server 2010 workflow.
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449563&Culture=en-US
MSDN Webcast: Project 2010 Software Development Kit (SDK) Drill-down
Thursday, May 27, 2010
Learn about the Project 2010 SDK content for Project Professional as well as for Project Server. This Web Cast explores the major parts of the SDK and includes development demonstrations using some the new Project 2010 features.
Jim Corbin, senior Programming Writer, Microsoft Corporation
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032450102&Culture=en-US
MSDN Webcast: Project 2010 Tailored Tools for Workflow Creation
Tuesday, June 1, 2010 1:00 P.M.–2:00 P.M. Pacific Time
This Web Cast will cover the different approaches customers and partners can take to create Project Server 2010 Workflows. Whereas previous only Visual Studio was supported for creating Project 2010 Workflows, investments within this area has now opened up different avenues for our customers and partners to create these workflows. In particular we will be covering some tools and partnerships which have been created for this particular purpose.
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449569&Culture=en-US
MSDN Webcast: Project 2010 Powerful Extensibility Using Visual Studio Tools
Thursday, June 3, 2010 1:00 P.M.–2:00 P.M. Pacific Time
Using the extensibility features of Microsoft Project 2010, I will show you how to 1. Create a list of tasks in Microsoft Project that will require updating during a regular status update cycle 2. Display that list as flexible grid using a Windows Form that can be sorted. 3. Export the data to an XML file for opening in another program such as Excel or a Browser. We'll do this using Visual Studio, so it will be for real.
Jim Aksel, Project MVP, Director, Celeris Systems
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449571&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters (Part 1 of 2): Achieve Results Quickly
Tuesday, June 8, 2010 1:00 P.M.–2:00 P.M. Pacific Time
The purpose of creating the Project 2010 Solution Starters was to help in the deployment and customization of Project Server 2010. This set of Solution Starters is focusing on Demand Management experience in Project 2010. The Solution Starters source code will be publicly available via MSDN Code Gallery - so anyone can extend the experience! Please check Project 2010 developer center at http://msdn.microsoft.com/project for more details! This Web Casts will go over the user experience of these tools.
Bobby Burns, Sam Chung, Program Managers, Microsoft Corporation
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449691&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters (Part 2 of 2): Achieve Results Quickly
Thursday, June 10, 2010
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032450819&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters Drilldown & Code Walkthrough (Part 1 of 4)
Tuesday, June 15, 2010
The purpose of creating the Project 2010 Solution Starters was to help in the deployment and customization of Project Server 2010. This set of Solution Starters is focusing on Demand Management experience in Project 2010. The Solution Starters source code will be publicly available via MSDN Code Gallery - so anyone can extend the experience! Please check Project 2010 developer center at http://msdn.microsoft.com/project for more details! These Web Casts will drill down and provide detailed code-level walkthrough for these tools.
Mike Shughrue, Principal Consultant, Microsoft Corporation
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032450823&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters Drilldown & Code Walkthrough (Part 2 of 4)
Thursday, June 17, 2010
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032450826&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters Drilldown & Code Walkthrough (Part 3 of 4)
Tuesday, June 22, 2010
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032451063&Culture=en-US
MSDN Webcast: Project 2010 Solution Starters Drilldown & Code Walkthrough (Part 4 of 4)
Thursday, June 24, 2010
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032451066&Culture=en-US
MSDN Webcast: Project 2010 BI & Portfolio Reporting (Part 1 of 2): Advanced Techniques
Friday, May 21, 2010 1:00 P.M.–2:00 P.M. Pacific Time
Web Cast 1 users will have the ability to understand how to utilize Excel Services, Reporting Services and Dashboard Designer to create organizational specific Dashboards.
Marc Soester, Project MVP, General Manager, i-PMO
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449565&Culture=en-US
MSDN Webcast: Project 2010 BI & Portfolio Reporting (Part 2 of 2): Advanced Techniques
Tuesday, May 25, 2010 1:00 P.M.–2:00 P.M. Pacific Time
Within Web Cast 2 users receive a deep dive experience on how to generate reports utilizing Project Servers data sources. This web cast will also allow users to generate a Visio Services Report and Power Pivot analytics by utilizing the Project Server 2010 Data Sources.
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032449567&Culture=en-US
MSDN Webcast: Real-World Solutions: Importing Workspace Data into Project Server Custom Fields
A client has requested a Project Center view that displays the number of active issues for each project. This is not possible out of the box.
Stephen C. Sanderlin, Project MVP, Vice President, msProjectExperts
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=6865
MSDN Webcast: Real-World Solutions: Leveraging Project Server Security within SQL Reporting Services Reports
A client has requested a SQL Reporting Services report that displays sensitive financial data. However, they only want executors of the report to see information on projects to which they have access.
http://www.microsoft.com/events/series/epm.aspx?tab=Webcasts&seriesid=51&webcastid=6866
MSDN Webcast: Real-World Solutions: Filter Resource and Project data based on Custom Fields
You are creating a custom Windows application for a client that extracts and displays Project and Resource information. Because the PSI provides no way to filter these entities prior to retrieval from the PSI, you must retrieve all of the projects or resources in order to filter them by Custom Field value. Because this client has some international users on slow WAN links, you must minimize the payload sent to the user by the PSI call.
http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032424143&Culture=en-US
MSDN Webcast: Real-World Solutions: Exporting Project Server Data to CSV
Monday, May 24, 2010 1:00 P.M.–2:00 P.M. Pacific Time
A client would like to export data from Project Server into a legacy Line of Business system. This system only accepts data in a CSV format.
http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032424148&Culture=en-US
Product information
· http://www.microsoft.com/project/2010/
· Project Team Blog http://blogs.msdn.com/project/
Interactive content - Videos & Sessions & Webcast
· http://www.microsoft.com/showcase/en/US/channels/microsoftproject/
· http://www.microsoft.com/events/series/epm.aspx
IT Professional related
· TechCenter @ TechNet http://technet.microsoft.com/ProjectServer/
· Admin Blog http://blogs.technet.com/projectadministration/
Developer related
· Developer center @ MSDN http://msdn.microsoft.com/Project/
· Programmability blog http://blogs.msdn.com/project_programmability/
Additional questions? Project 2010 Forums!
· http://social.msdn.microsoft.com/Forums/en-US/category/projectserver2010,projectprofessional2010/
SharePoint 2010 resources
· http://sharepoint.microsoft.com
Q: What if I miss the Webcast?
A: As the nature of the live interaction – you can ask questions during the live Webcast. If you miss it you can watch the recording, but the Q&A option is not available.
Q: Where do I get more information on Project 2010?
A: Please check the Project 2010 Resources in this e-mail.
Q: I’m SharePoint developer and I want to get started with Project Server. What are the best resources?
A: Beside of the resources above – you can visit our “Project Server Programmability” series of webcasts on http://msdn.microsoft.com/en-us/office/dd334415.aspx.
Q: Can I get Project 2010 Beta Virtual Image?
A: Yes- Hosted or Download
Q: I’m interested in IT Professional Webcasts as well. Where do I find them?
A: Please check this announcement from Christophe http://blogs.msdn.com/chrisfie/archive/2010/03/03/announcing-microsoft-project-server-2010-it-professional-technet-webcast-series.aspx
Thanks!
Jan
Pretty cool – check this out http://www.sharepointproconnections.com/blogs/MicrosoftInsider/tabid/1948/entryid/12761/3-New-Visual-Studio-2010-Extensibility-Projects-for-SharePoint-2010.aspx
These projects will help you automate some common development tasks when creating SharePoint 2010 solutions using Visual Studio 2010.
These three SharePoint 2010 Extensibility Projects can be downloaded from the MSDN Code Gallery here, http://code.msdn.microsoft.com/vsixforsp.
All of the projects contain a Hands On Lab and a walkthrough video. Follow the links below to blog posts providing further details for each project template.
The Silverlight Web Part Project template will create a fully functioning Silverlight Web Part project ready for deployment. The project template also uses a Silverlight control generator that replaces some of the functionality that was deprecated from the Silverlight 3.0 SDK. This makes it easy for developers to quickly create a custom Silverlight application that goes beyond the functionality of the built in Silverlight Web Parts. Developers have total control over the Web Part such as how the Silverlight plugin code is generated and other Web Part behavior. For more details and a quick walkthrough visit: Silverlight and SharePoint project template
One of the new features in SharePoint 2010 is the Server Ribbon. The Server Ribbon brings all of the goodness that the Client Ribbon provides to SharePoint. Creating a ribbon requires that the developer code the ribbon xml by hand. Doing this by hand has a steep learning curve to get started. The Server Ribbon Project Item template makes it easy to create a Server Ribbon by following the wizard. In addition to the wizard there are code snippets for create all of the ribbon controls. This is a great way to learn the correct ribbon xml to make powerful user interfaces in SharePoint. For more details and a quick walkthrough visit: SharePoint Ribbon project template
SharePoint enables you to create custom content types that can be attached to document libraries. Creating rich OBA document templates using Visual Studio and deploying them to SharePoint is a common pattern that developers use to enable Line of Business applications. If you’ve deployed a document-level add-in to SharePoint you are familiar with the number of steps involved in this process. The OBA Custom Content Types Project Item template removes all of these steps and reduces the process down to a simple wizard and an F5 deployment. The extensibility project does all of the work making the developers more productive.
For more details and a quick walkthrough visit: OBA Deployment project template
This procedure is described in the document “Setting up the Virtual Machine” that accompanies the Project 2010 Beta Demo VM.
Some of you might be running into activation messages, like “You must activate Windows today” or your virtual machine will be rebooting every 2 hours. To prevent spoiled demos please read on -
Please perform the “re-arming” of your image (http://support.microsoft.com/kb/948472).
1. Start your image
2. Logon into the image as Administrator
3. Start -> Run, type CMD
4. Into the command prompt window type “slmgr -rearm” (without quotes)
5. You should see dialog saying “command completed successfully”.
6. Reboot the VM
7. After reboot the VM your evaluation period has been extended
8. Please remember to warp-um all pages before your demo!
Q&A
Q: What is the demo VM, where do I get it?
A: “The Project 2010 Solution demo provides a comprehensive overview of the new and existing capabilities included in Microsoft Project Professional 2010 and Microsoft Project Server 2010. The demo follows the life of a software development project from inception through to completion.” More on the second part here - http://blogs.msdn.com/project_programmability/archive/2010/02/25/project-2010-beta-virtual-lab-is-available-as-hosted-experience-in-your-browser.aspx
Enjoy!
Hey,
In this post, I will be showing how you can use the Ribbon designer in Visual Studio 2010 to create custom ribbons in Project Client 2010. To get started, you will need a copy of Visual 2010 with the Office Tools installed and Project Client 2010 installed.
When you compile and run the application, you should see Project client boot and have the ribbon appear:
We are pleased to announce a new TechCenter for Project 2010 focused on Business Intelligence! Based on the partner and customer feedback we are concentrating all technical information about BI in Project 2010 into one single location. The BI center currently offers number of Presentations, WebCasts links to blogs and technical articles as well as links to the “uber” BI center for SharePoint 2010. As you know we leverage the power of SharePoint 2010 in Project 2010 – this is especially true for reporting– if you want to learn basics about SharePoint 2010 BI – the BI center for SharePoint 2010 is your best bet. If you are looking for specific information for Project 2010 – e.g. how to set up BI, create and customize reports – the BI center for Project 2010 is the place to go!
Business Intelligence Resource Center for Project Server 2010 exists in context of the “uber” as per the following illustration:
Q: Is the content final or will it grow in the future?
A: The content of the BI Center for Project 2010 will continue to grow in the future as new content becomes available.
Q: Could I use Visio Services to visualize Project data?
A: Absolutely – you can use Visio Services, Performance Point Services as well as Excel Services to build reports and data visualizations in Project 2010. We are working on specific materials for this as well.
Q: I have been using SQL Server Reporting Services (SSRS) in 2007 for data visualization. Could I continue using it in 2010?
A: You can still continue using SSRS reports against 2010 with minimal changes. People often look for securing their SSRS reports based on Project Server security – check this out.
Developing, Debugging and Testing your Project apps just got easier thanks to Visual Studio 2010. Check out today’s launch activities at http://live.ch9.ms to get all the details.
Chris is doing his UI customization Webcast today! Don’t miss it :)
https://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032449001&EventCategory=4&culture=en-US&CountryCode=US
Event Overview
In this webcast, we focus on the customization of the Microsoft Project 2010 client user interface, and we discuss the new Ribbon interface and custom task panes. We also introduce the Microsoft Project 2010 Visual Studio Tools for Office (VSTO) add-in and show how to use the Ribbon Designer.
Presenter: Chris Boyd, Program Manager, Microsoft Corporation Chris Boyd is a program manager on the Microsoft Project team, where he is focused on programmability, performance, and Microsoft Exchange integration.
Steve – is now doing his webcast on the following topic, where is is showcasing developing PSI extensions! Check it out! If you miss it – it will be available recorded in few days!
MSDN Webcast: Real-World Solutions: Filter Resource and Project Data Based on Custom Fields (Level 300)
Monday, April 19, 2010
1:00 P.M.–2:00 P.M. Pacific Time