REST API DynamicAttributes query in filters ?
Hi,
Unfortunately, filtering by dynamic attribute values isn’t supported by REST api search filter (CUBA REST API)
As workaround you can create JPQL queries that find entities by specific attribute, e.g:
select e from TestEntity e join sys$CategoryAttributeValue v on e.id = v.entity.entityId where v.code = 'someCode' and v.stringValue = 'val'
sys$CategoryAttributeValue
entity stores entity attribute value.
sys$CategoryAttributeValue.entity
- stores related entity identifier
sys$CategoryAttributeValue.[stringValue,intValue,doubleValue,decimalValue,booleanValue,dateValue]
- stores attribute value.
We have created an issue: