Server-side search
Configure an application to direct queries to the server and limit the number of records that are returned.
You can limit the number of records that are returned for a query to a single page by setting the
mobile-server-search
attribute to true
for a
datasource.
<maximo-datasource controller="ScheduleDataController" geometry-format="geojson" id="dswolist" object-structure="mxapiwodetail" order-by="wopriority" pre-load="false" saved-query="uxtechnicianownerfilter" selection-mode="single">
<schema id="gjw7p">
<attribute id="wymyz" name="autolocate"/>
<attribute id="g4dk9" name="wonum" searchable="true"/>
.
.
.
<maximo-datasource-override id="serverSearch" mobile-server-search="true" page-size="5"/>
</maximo-datasource>
Query results that are returned from the server are stored in the local database of the mobile device so that the results can be retrieved in offline mode.
If the query returns more than a page of records, a message displays the number of total records that resulted from the query.