Help! project created from template problem!

D

Daniel Lee

Hello:
I adopt asp.net to develop application integrate with project server.
I could create project by template in asp.net code.
The problem is that the generated project only could be accessed by
administrator.
I would like to allow project manager to get the generated project
file from professional.
Did I loose any thing when I create project by template ?
I check the PDS reference document but did not find the solution yet.
May be I miss something.
Did anyone get the experience?
Any comment will be very appreciated.

Regards,
Daniel Lee
 
R

Ray McCoppin

You have to set the owner of the project to the PM that needs access to it,
or assign the PM to the project. Their way the PM should be able to open the
project after this.
 
D

Daniel Lee

Thanks Ray:

I change the project owner correctly from PWA but How could I
assign project owner from coding?
The following is PDS Create Project syntex:
=================================
<Request>
<ProjectCreate>
<AutoPublish></AutoPublish>
<Project>
<ProjectName></ProjectName>
<StartDate></StartDate>
<TemplateID></TemplateID>
<TemplateName></TemplateName>
-- Other project details --
</Project>
</ProjectCreate>
</Request>
====================================
Should I assign poject owner by way of this API?

Regards,
Daniel
 
R

Ray McCoppin

I have done this by changing the owner after creating the project like this:
using PDS calls

Check out the project
like this

<Request>
<ProjectCodeValues>
<ProjectID>5677</ProjectID>
<AutoCheckout>1</AutoCheckout>
</ProjectCodeValues>
</Request>

change the owner field:
notice that column UID of 99999 is Owner and the ValueUID is the res_euid of
the new owner from the database.

<Request>
<ProjectCodeValuesUpdate>
<ProjectID>524</ProjectID>
<AutoCheckin>1</AutoCheckin>
<Columns>
<Column>
<UID>99999</UID>
<ValueUID>106</ValueUID>
</Column>
</Columns>
</ProjectCodeValuesUpdate>
</Request>


Check the project back in...


I am not sure if the CreateProject will take the owner field.
 
F

frankSinatra

Daniel,

If possible, could you please help me understand the process you went
through to connect to your project server through the pds? I would like to
do the same. What documentation did you use to assist in the creation?

Thanks,
FS
 

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