Add Resources Programmatically

A

Ana Silva

I'm doing an Add-In application (.NET) for Project, and I want to fill the
Resource Names combo box programmatically, with data from another application.
The project file is going to be publish in the project server 2003.

How can I do this?

Tks in advance,
A. Silva
 
T

tonyzink

Hi Ana --

Which 'Resource Names combo box' are you referring to? Is it in Project
Pro or PWA?

Depending upon your requirements, you may be able to use the PDS
(Project Data Service) to programmatically add resources to the
Enterprise Resource Pool in Project Server. Your application could grab
the resource information (Name, NT Account, Email, etc.) from the other
app or database, then use the ResourcesAdd PDS method to add a new
resource to the Enterprise Resource Pool.

Using the PDS is fairly straightforward; your application authenticates
to the Project Server, obtains a cookie, then passes fairly simple XML
requests to the server. the ResourcesAdd method is one such request;
the freely-downloadable PDS reference guide provides the XML schema
that you must follow (visit microsoft.com and search for PDS
reference).

After the resources are added to the Enterprise Resource Pool, they
will then be available to build project teams and make task
assignments.

Good luck!

Tony Zink
========================================
http://www.msprojectreporter.com
http://www.pmreporter.com
http://www.sharepointreporter.com
http://www.msofficereporter.com
http://www.dotnetreporter.com
========================================
 

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