add Method

Adds favorite properties into a certain scope.

add(field: Field, projectId?: string, imodelId?: string): Promise<void>

Parameter Type Description
field Field Field that contains properties. If field contains multiple properties, all of them will be favorited.
projectId string Project Id, if the favorite property is specific to a project, otherwise undefined.
imodelId string iModel Id, if the favorite property is specific to a iModel, otherwise undefined. The projectId must be specified if iModelId is specified.

Returns - Promise<void>

Defined in

Last Updated: 13 June, 2024