Visibility of widget based on multiple rows value

0
I have an entity “Test” which have attribute “Value” which have values as “value1”, “value2”, “value3”. Now I need to show a widget if this “Value” attribute contains either “value1” or “value3”. I use listview first and it is working but listview prints everything for three time because I have total 3 rows in “Test” entity. I use dataview but it only use one value at a time and I need to check 2 values.
asked
1 answers
0

In the ListView, if you want to only show rows where attribute Value is ‘value1’ or ‘value3’, you can set datasource to Xpath, select Entity Test and use Xpath like the following:

[Value = ‘value1’ or Value = ‘value3’]

Is that what you are trying to accomplish?

answered