none
Using PS 2003 PDS Method - Add Or Update Enterprise Global Template - Task Outline Codes RRS feed

  • Question

  • Hi,

    Can anyone tell me "how to add and update (Enterprise Global Template) Task Outline Codes in Project Server 2003 using PDS methods" ?

    ------------------------------------------------------------------------

    Note:

    I am using UID = Code_UID field of the "MSP_OUTLINE_CODES" table of the project server database. Because Code_Field_ID = 188744423 remains same for all as it is "Task Enterprise Task Outline Code3" of enterprise global template outline code.

    ------------------------------------------------------------------------

    Request i tried:

    1. EnterpriseOutlineCodeUpdate Method :

    'strRequestXML = "<Request>" & _

    ' "<EnterpriseOutlineCodeUpdate>" & _

    ' "<OutlineCode>" & _

    ' "<UID>1339</UID>" & _

    ' "<Name>Project</Name>" & _

    ' "<Nodes>" & _

    ' "<Node>" & _

    ' "<UID>1482</UID>" & _

    ' "<Value>Prj-Z Test Project</Value>" & _

    ' "</Node>" & _

    ' "</Nodes>" & _

    ' "<Masks>" & _

    ' "<Mask>" & _

    ' "<Level>1</Level>" & _

    ' "<Type>3</Type>" & _

    ' "<Length>30</Length>" & _

    ' "<Separator>.</Separator>" & _

    ' "</Mask>" & _

    ' "</Masks>" & _

    ' "</OutlineCode>" & _

    ' "</EnterpriseOutlineCodeUpdate>" & _

    ' "</Request>"

    2. OutlineCodeUpdateValues Method :

    strRequestXML =

    "<Request>" & _

    "<OutlineCodeUpdateValues>" & _ "<UID>1339</UID>" & _ "<Values>" & _ "<Value>" & _ "<UID>1344</UID>" & _ "<ParentUID>1339</ParentUID>" & _ "<Description>Project</Description>" & _ "<Value>Prj-Zest Project</Value>" & _ "</Value>" & _ "</Values>" & _ "</OutlineCodeUpdateValues>" & _ "</Request>"

     

     

     

     

     

     

     

     

     

     

     

    3. ProjectCodeValuesUpdate Method :

     

    'strRequestXML = "<Request>" & _

    ' "<ProjectCodeValuesUpdate>" & _

    ' "<ProjectID>1603</ProjectID>" & _

    ' "<Columns>" & _

    ' "<Column>" & _

    ' "<UID>1482</UID>" & _

    ' "<ValueUID>Prj-Z Test</ValueUID>" & _

    ' "</Column>" & _

    ' "</Columns>" & _

    ' "</ProjectCodeValuesUpdate>" & _

    ' "</Request>"

    Above mentioned PDS Request Methods gives me following errorcode:

    1. EnterpriseOutlineCodeUpdate Method : http://msdn.microsoft.com/en-us/library/aa204424(v=office.11).aspx (gives error code: 501, 9102)

    2. OutlineCodeUpdateValues Method : http://msdn.microsoft.com/en-us/library/aa204431(v=office.11).aspxhttp://msdn.microsoft.com/en-us/library/aa204431(v=office.11).aspx (gives error code:9102)
    3. ProjectCodeValuesUpdate Method : http://msdn.microsoft.com/en-us/library/aa204450(v=office.11).aspx (gives error code:41, 9102)

    Please help me where am i missing something. I have also posted the query to Discussions in Developer but couldn't get help so far. I know MSDN forums never disappoint me ever.

    Thanks


    Mitulkumar Brahmbhatt |
    Wednesday, May 19, 2010 1:33 PM