Adding Non-Working Time to an Enterprise resource on Project serve

R

Raymond Barbour

Hi,
My ultimate aim is to update the non-working time for a person on Project
Server when they fill out a leave form on our intranet server.

I was wanting to use PDS but it does not support Calendars as far as I can
see. I've started using Microsoft.Office.Interop.MSProject.Application and
have have limited success. If Project is open and connected to Project Server
I can attach to it and EnterpriseResourcesOpen and ResourceCalendarEditDays
and then save the changes. However if Project is not running and I create a
new instance it does not log into the server and the Enterprise calls fail. I
can't seem to find out how to get project to connnect to the server. I know
it seems to be possible as the Miscrosoft "Population Utility" psdp.exe does
this.

Can anyone help?
Thanks
Raymond Barbour
Johannesburg
South Africa
 
E

Earl Lewis

Raymond,

If you use an administrative project for people to log non-working time I believe you can accomplish what you want using the PDS AssignmentsSave method. This, of course, requires a policy decision in your organization regarding use of administrative projects to do so before you go ahead and code it, which may or may not be a big deal. For some it would be a major hurdle.

As far as logging into the project server to allow PDS to do it's work check the PDS reference under the Conceptual Topics area and look @ "rogrammatic logon to project server".

Hope that helps.

Earl
Hi,
My ultimate aim is to update the non-working time for a person on Project
Server when they fill out a leave form on our intranet server.

I was wanting to use PDS but it does not support Calendars as far as I can
see. I've started using Microsoft.Office.Interop.MSProject.Application and
have have limited success. If Project is open and connected to Project Server
I can attach to it and EnterpriseResourcesOpen and ResourceCalendarEditDays
and then save the changes. However if Project is not running and I create a
new instance it does not log into the server and the Enterprise calls fail. I
can't seem to find out how to get project to connnect to the server. I know
it seems to be possible as the Miscrosoft "Population Utility" psdp.exe does
this.

Can anyone help?
Thanks
Raymond Barbour
Johannesburg
South Africa
 

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