getContentSetSize Method

Retrieves the content set size based on the supplied content descriptor override.

getContentSetSize(requestOptions: ContentRequestOptions<IModelConnection>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<number>

Parameter Type Description
requestOptions ContentRequestOptions<IModelConnection> options for the request
descriptorOrOverrides Descriptor | DescriptorOverrides Content descriptor or its overrides specifying how the content should be customized
keys KeySet Keys of ECInstances to get the content for.

Returns - Promise<number>

A promise object that returns either a number on success or an error string on error. Even if concrete implementation returns content in pages, this function returns the total number of records in the content set.

Defined in

Last Updated: 13 June, 2024