DATAFILTER Property
10.8, PLBCMP GUI Only
The DATAFILTER property allows a filter string to be set for a DATASET object. If the filter string, it is used when DATASET items are being accessed in the GetItem and FindItem methods. By default, this property is not set. The DATASET filtering is only used for data items that contain valid JSON data.The property uses the following format:
DATAFILTER={filter}
Note the following:
DATAFILTER may be used in CREATE, SETPROP, or GETPROP statements of a DATASET object.
{filter} can be a Character String Variable or literal that contains a valid filter expression. The filter expression syntax is the same as for the FILTER instruction except valid JSON key names must be used.
DATAFILTER Examples:
If the DATASET item value is the follwong JSON:
The {filter} could be:
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |