renaming projects on 2007

M

Mike G.

According to the docs, proj_name is read only.
(http://msdn2.microsoft.com/en-us/library/websvcproject.projectdataset.projectrow.proj_name.aspx).
I thought I'd ignore the docs, and try it any way. So, programtically, I
checked out a project, read a project, modified the proj_name, queued the
update, checked it in and published it. It looks like it copied the project.
The project with the old name still exists, and there is a new project with
the new name. Any thoughts on what happened?

So, how do you rename a project programatically?

Thanks,

Mike G.
 
B

Bryant Likes

Mike G. said:
According to the docs, proj_name is read only.
(http://msdn2.microsoft.com/en-us/library/websvcproject.projectdataset.projectrow.proj_name.aspx).
I thought I'd ignore the docs, and try it any way. So, programtically, I
checked out a project, read a project, modified the proj_name, queued the
update, checked it in and published it. It looks like it copied the
project.
The project with the old name still exists, and there is a new project
with
the new name. Any thoughts on what happened?

So, how do you rename a project programatically?

I don't think this is possible.

You might look at the PROJ_PROP_TITLE as an alternate solution:
http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.projectrow.proj_prop_title.aspx

This is what we use for our project names and you can change it.
 

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