在Project Server 2010中将提案设置为项目时应用企业项目模板 [英] Applying enterprise project template while proposal gets convered to project in Project Server 2010
问题描述
当我们拥有提案的工作流程并且在所有批准之后,当它转换为企业项目时,我们是否可以以编程方式应用企业项目模板。提案何时转换为Project Server 2010中的项目?
Akila Ananthanarayanan
Hello Akila,
提案获得批准后,即处于管理阶段。 Project Server 2010使用户可以使用Project Professional或Project Web App直接管理项目。您可以捕获事件WorkflowEventReceiver.OnCompleted,它是事件工作流完成时发生的事件的事后
处理程序。
http://msdn.microsoft.com/en-us/library/microsoft。 office.project.server.events.workfloweventreceiver_di_pj14mref_methods.aspx
http ://msdn.microsoft.com/en-us/library/gg203481.aspx
获得项目信息(PSContextInfo)后,您可以编写自定义事件处理程序以使用Project Web服务(Project.CreateProjectFromTemplate方法) 使用模板创建项目:
http://msdn.microsoft.com/en-us/library/gg211556.aspx
这有帮助吗?
When we have workflow for a proposal and after all approvals, when it gets converted to an enterprise project, can we apply enterprise project template programatically. When does a proposal gets converted to a project in Project Server 2010?
Akila Ananthanarayanan
Hello Akila,
After a proposal is approved, it is in the management phase. Project Server 2010 enables users to directly manage a project either with Project Professional or Project Web App. You can trap the event WorkflowEventReceiver.OnCompleted which is a post-event handler for an event that occurs when a workflow completes.
http://msdn.microsoft.com/en-us/library/microsoft.office.project.server.events.workfloweventreceiver_di_pj14mref_methods.aspx
http://msdn.microsoft.com/en-us/library/gg203481.aspxOnce you have the information of project (PSContextInfo ), You can write your custom event handler to use the Project web service (Project.CreateProjectFromTemplate Method ) to create a project using the template:
http://msdn.microsoft.com/en-us/library/gg211556.aspx
Does that help?
这篇关于在Project Server 2010中将提案设置为项目时应用企业项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!