You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Apply criteria on Service data provider for three attributes in VBCS

edited May 10, 2019 9:18AM in Visual Builder 1 comment

Summary

Should apply three criteria's at a time on service data providers

Content

Hi,

I had gone through the below link worked fine for two attributes with one operator.

https://blogs.oracle.com/shay/filtering-data-providers-with-compound-conditions-in-visual-builder

But my requirement is to apply two conditions with three attributes at the same time.

Two attributes  should be applied with "$or"  and the third attribute should be applied  with "$and" .

Rule should be applied like  (A or and C.

"source": {
                "filterCriterion": {
                  "criteria": [
                    "{{ $page.variables.locationCriteria }}",
                    "{{ $page.variables.priceCriteria }}"
                  ],
                  "op": "$and"
                }
              },

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!