createSimilarInstancesRuleset Method

Deprecated  Use createSimilarInstancesRulesetAsync instead

Create a ruleset with content rules for getting instances are of the same ECClass and have the same property value as the provided record.

createSimilarInstancesRuleset(field: Field, record: Item): { description: string, ruleset: Ruleset }

Parameter Type Description
field Field A field identifying which property of the record we should use
record Item A record whose similar instances should be found

Returns - { description: string, ruleset: Ruleset }

Defined in

Last Updated: 13 June, 2024