"For example, display only records that have the optionset category set to 'Business' if the parent record is set to 'Business' too."
The general pattern we believe its manifest should look like below:
<property name="property1" bound>
<property name="property2" bound>
<property name="propertyN" bound>
<property-set name="aliasOfProperty" bound>
The first N property is used to get the bounded fields' value.
The <data-set> is used to send the request and get the data
The request sent by <data-set> needs to have 'filtering' per this ask. And we do have API setFilter/refresh that would easily help to setFilter. But it needs to know which 'column' need to put the filter on. Hence, it needs <property-set> configuration to let the control know the right 'column' for filtering
Regarding the setFilter/refresh/clearFilter/find_right_column. We do have sample controls (they might not in doc at this moment). I attached the sample control solution and the source code.
The sample control is a data-set control will help you be familiar with the filtering related API and how to find right column. You could put it on any entity home page grid. There will have a 'search box' in the control and it will be searched based on your configurd 'property-set'.
Also, the sample control is a data-set control does not mean these code only applied to 'data-set' control. It works also when 'data-set' is not at first place.