Returns a resource from a schedule resources collection by a specified id.
Namespace: MindFusion.Scheduling
Assembly: Schedule.js
JavaScript
![]() |
---|
function getResourceById (id) |
String. The id of the resource.
Resource. The resource object if found, null otherwise.
The schedule resource collection (contacts, locations, tasks, resources) is determined automatically by the resource's id.