Error with CreateProjectFromTemplate

F

frank

Hi,

I try to create projects from PWA in project Server 2007Beta2TR using
Project Templates.
I created a new Project within Project 2007 set up a view tasks and
saved the Template.
If I used CreateProjectFromTemplate(...) in my code everything worked fine.

Afterwards I created a set of generic enterprise resources like
developer, tester. I created a second project, set up tasks and assigned
the generic resources to this project. I saved the project as template
as well.
If I use CreateProjectFromTemplate(...) with the new template I get a
SOAPException which says a global resource with the same name already exits.

If i create a new project wit this template within MS Project 2007 in
the end I get a similar Question, but I get a Option to replace all
local resources by global ones.

Does anybody know how to properly work with project templates in project
2007?
 
R

Rod Gill

When you added the generic resources, did you type them in or use Build team
from enterprise? If you typed them, then Project sees the resources as
local, hence the prompt.
 
F

frank

Rod said:
When you added the generic resources, did you type them in or use Build team
from enterprise? If you typed them, then Project sees the resources as
local, hence the prompt.

Yes, I thoght this might be the error,too, but I tried it several
different ways - all with the same result.

An other error occured when I add new enterprise custom fields to a
project and mark them as required. I assigned a custom lookuptable and a
default value too.

Regard frank
 

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