MindFusion.Scheduling for JavaScript Programmer's Guide
Schedule.getResourceById Method
See Also
 






Returns a resource from a schedule resources collection by a specified id.

Namespace: MindFusion.Scheduling
Assembly: Schedule.js

 Syntax

JavaScript  Copy Code

function getResourceById (id)

 Parameters

id

String. The id of the resource.

 Return Value

Resource. The resource object if found, null otherwise.

 Remarks

The schedule resource collection (contacts, locations, tasks, resources) is determined automatically by the resource's id.

 See Also

Schedule Members
Schedule Class
MindFusion.Scheduling Namespace