Subprojects edited in XMLDocument

J

Jens Peter Kempkes

Hello!

I would like to edit projects, which are exported from Ms Project into a xml
file.
The changes will be done by another program. This file should be re-imported
by project later. (For example a task will be set to a new start date)

Problems occur as soon as I try to edit XML files which contain subprojects.
Project seems always to recover the original information from the MPP file
belonging to the given subproject.

Does anyone know a way to make sure project updates all subprojects with the
provided changes?

Thanks in advance,
jens peter kempkes
University of Paderborn, Germany
 
R

Rod Gill

With linked sub-projects, that's the programmed behaviour. If you want to
change sub-project data you need to edit the xml file for each sub-project.

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.project-systems.co.nz/
Email rodg AT project-systems DOT co DOT nz
 
J

Jens Peter Kempkes

Hello!

Thanks for your reply.
I've got some additional questions:

1) All in all, there's no way to use Project to update all linked projects
with new data from a whole xml file?

2) How can I link to xml-subprojects? Xml-Files are not allowed in "Insert /
Project" - operation ("wrong fileformat")

3) Which XMLKnode represents whenether a subproject is linked or not?
 
R

Rod Gill

1) Correct
2) Can't, need to convert to Project first or create projects in a database.
3) Look for the task ID that represents the subproject task and look at its
nodes.

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.project-systems.co.nz/
Email rodg AT project-systems DOT co DOT nz
 

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