API Reference > presentation-frontend > Core > FavoritePropertiesManager > clear clear Method Removes all favorite properties from a certain scope. clear(projectId?: string, imodelId?: string): Promise<void> Parameter Type Description 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 presentation/frontend/src/favorite-properties/FavoritePropertiesManager.ts Line 158 Last Updated: 13 June, 2024