Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1010
get an activity/appointment
posted

In my server side classes, I need to get an appointment, modify it, and save it back to the database.

I have the ActivityID  (key), I stored it in my database when I created the activity.

But I don't see any method on the web schedule data provider or web schedule info object.  I see "Add" and "Remove" and "Update" Activity methods, but where is GetActivity??????????????????????????

Here is the workaround I am trying, don't know if it works yet... There is a method GetAppointmentsForDate(resource, date)  so I get that collection of activities and then loop through them to find the one I need.

And I never got an answer aobut populating a resource object, so the resource I am passing in is created by saying

Resource R = new Resource();

R.Name = 'resourcename'

I hope that is good enough.

 

What am I missing