Skip to main content

Search Elements By Attribute Value

The following are examples of searching for elements by their attribute values.

test1 > 5

Syntax reference: [Expression]

Returns the list of elements that have an attribute whose name contains the string 'test1', and whose value is greater than 5.

meter test1 > 5

Syntax reference: [Literal] [Expression]

Returns a subset of the previous search combining

solvability = 'NS'

Syntax reference: [Expression]

Returns the list of elements that have an attribute whose name contains the string 'solvability' and whose value is equal to 'NS'.

Note

String must be enclosed in single quotes

SFHub is NOT case sensitive therefore 'NS' is equivalent to 'ns'

Status = 'OS'

Syntax reference: [Expression]

Returns the list of elements that have an attribute whose name contains the string 'Status' and whose value is equal to 'OS'.

inferredstatus = 'OS'

Syntax reference: [Expression]

Similar to the previous example, but it will return a subset of elements, as the attribute name is better defined.