ChartOfCharacteristicTypesManager.<Chart of characteristic types name>.FindByAttribute


FindByAttribute(<AttributeName>, <AttributeValue>, <Parent>)


<AttributeName> (required)

Type: String.
The name of the attribute by value of which the search is to be formed, as specified in the Designer. The type of value is any, except for ValueStorage and lines of any length.

<AttributeValue> (required)

Type: Arbitrary.
The attribute value by which the search is to be performed.

<Parent> (optional)

Type: ChartOfCharacteristicTypesRef.
Parent to be searched. If it is not specified, entire chart of characteristic types is searched.

Returned value:

Type: ChartOfCharacteristicTypesRef.
Reference to found element. If there are no elements with the required attribute value, an empty reference will be returned.


Searches for an item by attribute value.


Server, thick client, external connection.


If there are several items with the specified attribute value, only one of them is found.
For attributes of the String type the search is executed by exact mapping.


1C:Enterprise Developer's Community