[[VIEW_SELECT:criteria]]
criteria(boolean) a logical expression which must be true before row is selected into view. Example boolean expressions:
($_name=='Washington')OR($_name=='Oregon') ($_id > 1)AND($_id < 3)
Filters current view by boolean selection criteria. Add a dollar sign and underscore $_ before the variable/field names when writing boolean expressions using field variables..
[[LOAD_DATAFEED:csv_datafeed.txt|,]] [[VIEW_DATAFEED]] [[cr]][[cr]]Output Before Selection:[[cr]][[cr]] [[VIEW_DISPLAY]] [[VIEW_SELECT:($_name=='Washington')OR($_name=='Oregon')]] [[cr]][[cr]]Output After Selection:[[cr]][[cr]] [[VIEW_DISPLAY]]
Output Before Selection:
Name: Washington Id: 1 Color: blue Size: big Name: Oregon Id: 2 Color: "green" Size: small Name: California Id: 3 Color: red Size: huge
Output After Selection:
Name: Washington Id: 1 Color: blue Size: big Name: Oregon Id: 2 Color: "green" Size: small