getContentDescriptor Method

Overloads
getContentDescriptor(requestOptions)  
getContentDescriptor(requestContext, requestOptions, displayType, keys, selection) Deprecated  

getContentDescriptor(requestOptions)

Retrieves the content descriptor which can be used to get content

getContentDescriptor(requestOptions: WithClientRequestContext<ContentDescriptorRequestOptions<IModelDb, KeySet, RulesetVariable>>): Promise<undefined | Descriptor>

Parameter Type Description
requestOptions WithClientRequestContext<ContentDescriptorRequestOptions<IModelDb, KeySet, RulesetVariable>>  

Returns - Promise<undefined | Descriptor>



getContentDescriptor(requestContext, requestOptions, displayType, keys, selection)

Deprecated  Use an overload with ContentDescriptorRequestOptions

Retrieves the content descriptor which can be used to get content.

getContentDescriptor(requestContext: ClientRequestContext, requestOptions: ContentRequestOptions<IModelDb, RulesetVariable>, displayType: string, keys: KeySet, selection: undefined | SelectionInfo): Promise<undefined | Descriptor>

Parameter Type Description
requestContext ClientRequestContext  
requestOptions ContentRequestOptions<IModelDb, RulesetVariable>  
displayType string  
keys KeySet  
selection undefined | SelectionInfo  

Returns - Promise<undefined | Descriptor>


Defined in

Last Updated: 12 June, 2024