getContent Method

Retrieves the content based on the supplied content descriptor override.

getContent(requestOptions: Paged<ContentRequestOptions<IModelConnection>>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<Content | undefined>

Parameter Type Description
requestOptions Paged<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<Content | undefined>

A promise object that returns either content on success or an error string on error.

Defined in

Last Updated: 13 June, 2024