Skip to main content

Good day,

I am using the call web service action to invoke the CreateProjectFromTemplate method.  I am able to call other methods and it works fine, but for this one I get an error on the ProjectUID: ProjectTemplateNotFound.  I am getting the project id from the project page escreen shot below].  Should I be getting it somewhere else? I have tried the other projectIDs and they don't work either.

Thank you,

Jennifer

Jennifer,

I have answered your question on my blog post. What you are getting above is the UID of the Enterprise Project Type. This is not the same as the Template UID.

You need query the ProjectWebApp database to get the Template UID. Here is the query:

SELECT PROJ_NAME, PROJ_UID FROM draft.MSP_PROJECTS WHERE PROJ_TYPE = 1


Thanks Prasanna for the reply. I am having trouble finding the template UID.  It doesn't appear to be in the db.


I think I see the problem; I don't have a project_type that = 1...


You will need to create a Project Schedule Template first. It could be a blank template.

This article might help you. PMConnection - How to Create or Edit a Project Server Template


Reply