Custom Fields Via PDS?

D

David

I have an asp.net written in vb.net application that import
Project's and task's data from MS Project Server via PDS.

example:
<Request>
<ProjectData>
<ProjectID>13</ProjectID>
</ProjectData>
</Request>


The problem if that I just cant retrive Task Enterprize
Custom Files with PDS.

The XML example I wrote is an example to how I now fech
the project data and task data, the result does not
include the Custom Fileds!!

What Im tring to do is to get the task data along with the
Task Enterprize Custom fileds via PDS!!(not using SQL
directly to the DB)

I've read the PDS reff but I did not find anything that
can help me doind that , even more I didnt find any
request that return the value of the custom fiel in a task
level.

Thank , david
 
J

Jim Corbin [MSFT]

There are no built-in PDS methods that retrieve or set task enterprise
custom fields in a project, but the PDS is extensible. You could write a PDS
extender that gets the relevant database entries. The custom field tables
include, among others:
MSP_TEXT_FIELDS for text custom fields
MSP_FLAG_FIELDS for flag custom fields
MSP_CODE_FIELDS stores the outline codes

A PDS extender is recommended rather than just accessing the Project Server
database tables from your VB.NET application, because the PDS automatically
uses the Project security permissions.

The Project 2003 SDK download
(http://www.microsoft.com/downloads/details.aspx?familyid=4d2abc8c-8bca-4db9
-8753-178c0d3099c5&displaylang=en) includes a VB6 sample in the topic
Writing a PDS extender, and there are C# samples in the topic Project
Renamer PDS Extender and in the technical article Creating a Managed Code
PDS Extension
(http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_pj
2003_ta/html/ODC_BuildPDSExtension_NET.asp).
 

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