Programmatic Entry of Outline Codes

T

Tony

Hi all,

I'm having a problem adding Enterprise Outline Codes. Another program
access MSP Server adding values to certain Enterprise Outline Codes
fields. The user cannot edit these in MS Project ensuring the two apps
stay synchronized.

The Outline Code field that I set is displayed in the Project
Information display.

I've tried to set them through both PDS and DB entries (taking care to
mark the PROJ_EXT_EDITED_CODE field in the MSP_PROJECTS table).
Although the values are available when I open the Enterprise Global and
go to Tools/Custom/Enterprise Fields, the values do not show up in the
Project Information box for the individual project even though I can
see the entry in the MSP_OUTLINE_CODES and MSP_CODE_FIELDS tables.

Does anyone know what I shoulod pursue to fix this?

Thx in advance,
-Tony
 
T

Tony

In answer to my own question, outline codes cannot have special
characters in the MSP_OUTLINE_CODES.OC_NAME field, otherwise they won't
work in MSP. In .Net, I used the following to strip them out:

MyName = System.Text.RegularExpressions.Regex.Replace(Value, "[^\w\ ]",
"")
 

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