Open this page in the API Guide
CanvasService.getViewModelByName Method
Retrieve a view model by its name.
Parameters
- name
-
Type: String
The name of the viewmodel to search.
Return Value
Type: CanvasSelectableViewModel
The viewmodel to search for. Null if unfound.