API Reference > presentation-common > Core > RulesetsFactory > createSimilarInstancesRulesetAsync createSimilarInstancesRulesetAsync Method Create a ruleset with content rules for getting instances are of the same ECClass and have the same property value as the provided record. createSimilarInstancesRulesetAsync(field: Field, record: Item, computeDisplayValue?: ComputeDisplayValueCallback): Promise<{ description: string, ruleset: Ruleset }> note Will be renamed to createSimilarInstancesRuleset on next major version change. 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 computeDisplayValue ComputeDisplayValueCallback Optional callback function to calculate display value that'sused in ruleset's description. If not provided, display value from record is used instead. Returns - Promise<{ description: string, ruleset: Ruleset }> Defined in presentation/common/src/RulesetsFactory.ts Line 84 Last Updated: 13 June, 2024