Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 119
Registered: ‎10-13-2015
Accepted Solution

Mobile SDK search configuration

Hi Lukasz.

 

We prepared a json configuration file with 2 searches.

We have a doubt about the values that appears in the candidates list.

How it's possible specify the column to show in the candidates list.

Any example?

Staff
Posts: 25
Registered: ‎01-18-2016

Re: Mobile SDK search configuration

Hi Marti

 

Current mechanism by deafault searches for an attribute named "Title", if it doesn't find it, it sorts the feature attrbutes alphabetically and picks the first one. 

If you have access to the service configuration, you could modify the returned attributes accordingly.

 

Unfortuntelly, it isn't configurable, but you can change it in your app.

In src/resources/templates there is a default.resultlist.tmpl file. You may edit it and change Title for the required property name.

 

BR

Dominik

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.