306
Views
3
Comments
Dynamic operator in filter
Application Type
Reactive
Service Studio Version
11.12.5 (Build 51077)

Hi All,

I got some problems with the dynamic filter, I want to allow users to enter the operator, Attribute, value and after that, the program will process and show the results. But I have no idea about the dynamic operator.

Thanks for your support.


2021-04-17 09-53-48
José Gonçalves

Hi Gia,

you cannot pass the operator inside a variable. You need to create an IF condition depending on the operator selected.

In this case you have only 2 operators so it's not too much.

Regards

2025-05-11 04-57-37
Somesh Renganathan

Hi Gia,

You could try using Data Grid component (available for both Traditional and Reactive) provided by OutSystems team to achieve your goal. It makes things easier with nice UI and rich features.

https://www.outsystems.com/forge/list?q=data%20grid&t=&o=&tr=False&oss=True&c=%20&a=&v=&hd=False&tn=&scat=forge

Thanks,

Somesh

2021-05-18 02-27-17
Manish Gupta
Champion

Hello Gia

Based on your requirement I have created this work around using multiple if conditions - https://personal-9qwkrkgl.outsystemscloud.com/GiaFilterForum/Products?_ts=637703500824282910


As suggested by Jose, it is only feasible or we say easy if you have 2 operators. 


Please let me know if this suits you. I will upload the OML for help. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.