Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 17
Registered: ‎05-06-2019
Accepted Solution

Take a specific data from table in the database in Mobile application

Hi to all,

Is there a way to get a spacific data from the table as show in the list?

i have  data for many goverments and i want to get the data of one government and show it in my list

so i use a sql query to select all from mytable where gov equal cairo

Sql="SELECT * FROM database WHERE gov= 'cairo'

 i put this quiry in the shell.entity but i not work so i dont know where i can put this quiry in my code (i want to see the data in the list not in a table in the form)

 

hope you help me 

Thanks,

Islam Yasser

Staff
Posts: 539
Registered: ‎11-12-2015

Re: Take a specific data from table in the database in Mobile application

Hi Islam,

 

If I understand your post correctly you can 'filter' your table by configuring and using <Entity.Filters> in your Mobile M.App.

 

You will find the Filters defined with examples in the Mobile Documentation .

As well the Mobile Tutorials found on the Community review and implement a Filter in Lab 5b.

 

Together these resources should help your case.

 

HTH

Occasional Contributor
Posts: 17
Registered: ‎05-06-2019

Re: Take a specific data from table in the database in Mobile application

hi sclow,
I want to filter my list without filter or search button
i need to get the filter list when i open my mobile app.
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.