API Reference > presentation-backend > Core > PresentationManager > computeSelection computeSelection Method Overloads computeSelection(requestOptions) computeSelection(requestContext, requestOptions, ids, scopeId) Deprecated computeSelection(requestOptions) computeSelection(requestOptions) Computes selection set based on provided selection scope. computeSelection(requestOptions: WithClientRequestContext<SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string }>): Promise<KeySet> Parameter Type Description requestOptions WithClientRequestContext<SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string }> Returns - Promise<KeySet> computeSelection(requestContext, requestOptions, ids, scopeId) Deprecated Use an overload with one argument Computes selection set based on provided selection scope. computeSelection(requestContext: ClientRequestContext, requestOptions: SelectionScopeRequestOptions<IModelDb>, ids: string[], scopeId: string): Promise<KeySet> Parameter Type Description requestContext ClientRequestContext requestOptions SelectionScopeRequestOptions<IModelDb> ids string[] scopeId string Returns - Promise<KeySet> computeSelection(requestOptions) computeSelection(requestOptions: WithClientRequestContext<ComputeSelectionRequestOptions<IModelDb>>): Promise<KeySet> Parameter Type Description requestOptions WithClientRequestContext<ComputeSelectionRequestOptions<IModelDb>> Returns - Promise<KeySet> Defined in presentation/backend/src/presentation-backend/PresentationManager.ts Line 917 Last Updated: 11 June, 2024