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
sorry I was being so grumpy :( we aren't really going to re-tool LOL
Well, that's apparently not good enough.
AppointmentsSubsetCollection appts = wsi.GetAppointmentsForDate(resouce, date);
is returning NULL. No, not an empty list, NULL. So I can handle those cool NullRefernce errors, I love doing that.
How specific is the date? Does it ignore the time, or do I have to get that exactly to the minute?
Or maybe it is my Resource object, it is only populated by setting the Name. Is there some way to get a FULLY POPULATED Resource object from your classes?
Maybe someone could post a simple sample project of the back-end API code?
How to create an appointment, how to retrieve it, edit it, and save it back to the data store?
Please?
If you do I promise we won't rip your products out of our web site and burn the install disks. Because I am pretty tempted to do that right now. I think our renewal period is almost up and I have more budget for tools now and I am very experienced with one of your competitors packages and could replace it all in a week.
But I'd rather not. I'd rather just get this to work and move on.