Add custom information and hide them

R

Rahul

Hi!
I need to add custom data to my msproject 2003 xml - for project, task and
resource - and hide the information (atleast make it non-editable).
Basically, I'm writting a VB.NET application that gets a custom XML from
the server and transforms the custom XML to MS Project 2003 XML format and
loads it on the client machine for the user to edit. I need to load some
identifiers (custom data) when I load the xml and need to get back that
information when a save is made.
I have a few related questions...
1. Is there a way by which i can add a custom field (not the custom fields
like text1, number1, etc that msproject provides) and assign values?
2. If I assign values to custom fields like text1, its possible to edit
them...is there a way by which i can make it non-editable or hide the field
from msproject view?
3. Whatz the better way to handle custom data at project, task and resource
levels?

Thank you.
Rahul.
 
J

JackD

Rahul said:
Hi!
I need to add custom data to my msproject 2003 xml - for project, task and
resource - and hide the information (atleast make it non-editable).
Basically, I'm writting a VB.NET application that gets a custom XML from
the server and transforms the custom XML to MS Project 2003 XML format and
loads it on the client machine for the user to edit. I need to load some
identifiers (custom data) when I load the xml and need to get back that
information when a save is made.
I have a few related questions...
1. Is there a way by which i can add a custom field (not the custom fields
like text1, number1, etc that msproject provides) and assign values?
No

2. If I assign values to custom fields like text1, its possible to edit
them...is there a way by which i can make it non-editable or hide the field
from msproject view?

No. You can use some of the events (beforechange) for example to trap for
changes and cancel them, but it is not foolproof (you can work around them
if you want) and the data is not hidden. I suppose you could disable the
commands but it would be a fair amount of work.
3. Whatz the better way to handle custom data at project, task and resource
levels?

Use the custom fields and tell people not to mess with them. Tell them that
if they do they will break things and they will be in trouble.
 
R

Rahul

Thanx a lot for the help JackD. I've decided to use the built in custom
fields and ask the user not to mess up with them.
 

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