Search
Schedule.getResourceById Method
See Also
 






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

Namespace: MindFusion.Scheduling
File: 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