List available Enterprise Project Types using Project Server Interface
-
27-06-2021 - |
문제
I want to query a Project Server 2010 installation for a list of available Enterprise Project Types (their names and GUIDs) using a webservice (PSI).
I can't find out how to do this anywhere. I found a way using the client-side object model but cannot find any examples using web services. Has anyone ever done this?
I found one answer here but it deals only with custom fields.
(The goal is to create/update a project using a Enterprise Project Type & its attached template.)
해결책
I found 2 available methods inside of Workflow Service:
- Workflow.ReadAvailableEnterpriseProjectTypes - list of EPTs available for the current user
- Workflow.ReadEnterpriseProjectTypeList Method - list of all known EPTs.
The only possible problem I see is a set of required permissions:
- Manage Workflow
- Change Workflow
- + NewProject for the 1st method.
제휴하지 않습니다 StackOverflow