How to programmatically use a project template

I

Ismael

I have created a project in Project Server 2007 portal. After this, I save
this project
as a template. But when I execute the next code:

ProjectWebSvc.ProjectDataSet readTemplateDs =
project.ReadProjectStatus(Guid.Empty,
ProjectWebSvc.DataStoreEnum.WorkingStore, String.Empty,
(int)PSLibrary.Project.ProjectType.Template);

The project saved as template not appears inside readTemplateDs. The reason is
that the value of PROJ_TYPE attribute is 0. In other words, projects saved as
templates in portal are considerated like projects, not like templates.

How can save correctly in SQL Server a project created as template from
Project
Server 2007 portal?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top