API Reference > imodeljs-frontend > IModelConnection > IModelConnection.Views IModelConnection.Views Class The collection of views for an IModelConnection. Methods Name Description getThumbnail(viewId: Id64String): Promise<ThumbnailProps> Get a thumbnail for a view. getViewList(queryParams: ViewQueryParams): Promise<IModelConnection.ViewSpec[]> Get an array of the ViewSpecs for all views in this IModel that satisfy a ViewQueryParams. load(viewDefinitionId: Id64String): Promise<ViewState> Load a ViewState object from the specified ViewDefinition id. queryDefaultViewId(): Promise<Id64String> Query the Id of the default view associated with this iModel. queryProps(queryParams: ViewQueryParams): Promise<ViewDefinitionProps[]> Query for an array of ViewDefinitionProps saveThumbnail(viewId: Id64String, thumbnail: ThumbnailProps): Promise<void> Save a thumbnail for a view. Defined in core/frontend/src/IModelConnection.ts Line 872 Last Updated: 13 June, 2024