Need to implement search on json data

Need to implement search on json data

  

Hi,

I have deserialized the JSON data and assigned it to a list type variable in the webscreen now i need to implement search on that JSON data I am not supposed to create any entity how can i implement the search on that JSON data.

Thanks,

Ronan T.

Hi Ronan,

After assigning json in a list u can filter data by using server actions provided by outsystems in server actions as well as in client actions by using appropriate filters inside it.

Regards 

Shoeb

Hi Ronan T,

You can use the ListFilter, ListDistinct and ListSort server actions or the equivalent ListFilter, ListDistinct and ListSort client actions.

Ronan T wrote:

Hi, 

I have used it before list append but it is not working



Thanks,

Ronan T


Hi Ronan,

Try to debug you code and see what data you are getting after ListFilter Action called also Check are you getting your expected result or not. do not use ListAppend while debugging for some time.


Regards

Shoeb