Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Project Newsgroups
Project Developer
Code sample to do add a date to a resource calendar?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Maik, post: 4901301"] Hi Melt16, i´m not sure if i get you right, but if you want to add a date where a resource is non-working, have a look at the ResourceWebService. Use the ReadResource(<resourceGuid>) Method, get a new row from the CalendarException Table with NewCalendarExceptionsRow(), checkout the resource with CheckOutResources(<guidArray>), fill the new row with the data you want, add the new row to the CalendarExceptions table with the AddCalendarExceptionsRow(<exceptionsRow>) and call the UpdateResources method (if you want with autoCheckIn, otherwise you´ve to check in the resource manually by using CheckInResources method). You can verify the new resource calendar exception entry e.g with ProjectProfessional , open EnterpriseResource Pool, pick the resource , click "Change Working Time" , you should see the new non-working day entry on the Exception Tab. Greets Maik [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Project Newsgroups
Project Developer
Code sample to do add a date to a resource calendar?
Top