Mobile Search Bar

Mobile Search Bar

  

I have a mobile app, that has an entity (database) stored on local storage. I already have a page, to output the database. My question is, how would I add a search bar, to filter the results of the database?

Hi,

  1. Create a local parameter called SearchInput
  2. Add an input widget to your screen and bind it to the SearchInput parameter
  3. In your aggregate that fetches the data from the local storage entity define your filter like
    entity.attribute like  "%" + SearchInput + "%"
  4. On the input widget define on the OnChange event a new screen action
  5. In that screen action perform a refresh of your aggregate

This is a basic search implementation

Regards,

Daniel