- 2 minutes to read
In most end-user applications it's necessary to assign appointments to particular resources.
What Is a Resource?
In real-life scheduling applications, appointments are seldom processed simply "as is", but usually are assigned to different resources. There are different kinds of resources, and the decision as to what should be a resource in a particular scheduling application depends upon the specifics of the task solved by the application. Here are some examples of scheduling tasks, illustrating what can be an appointment and a resource in these examples.
Resource: Every employee in this company.
Appointment: Any time interval spent by an employee, to perform a particular task.
A Car Rental Agency.
Resource: Every car which is owned by this firm, and can be leased.
Appointment: Any time interval when any of the firm's cars are leased.
An Educational Center.
Resources: Every teacher who works at this center, or every room in this center.
Appointment: Any time interval when any of the teachers is delivering a lecture in any of the rooms at the center.
In the latter example, two kinds or resources are possible (teachers and rooms). However, the ASPxScheduler doesn't allow appointments to belong to resources of different types. So, to display this data in a scheduling application, we suggest using two pages with different Scheduler Controls.
An appointment can have one or several resources assigned to it. If it has no resources assigned, then it is assumed that any resource can be associated with that appointment.
For more information on resources, see the Assigning Appointments to Resources document.