Hi,
Currently we're using store.refresh(); to refresh the offline store which refreshes all the requests specified in configuration file.
But i want only specific request to be refreshed.
Is it possible to achieve this with SMP 3.0 SP05 android SDK.
[endpoint]
Name=OrderExample
prepopulate_offline_db=SHARED-ONLY
prepopulate_offline_db_interval=1440
indexed_type=SAPODataExample.CustomerType: Surname, GivenName
indexed_type=SAPODataExample.CustomerType: Address/Province, Address/City
[defining_request]
name=Customers
is_shared_data=N
[defining_request]
name=Orders
is_shared_data=N
[defining_request]
name=OrderItems
is_shared_data=N
[defining_request]
name=Products
is_shared_data=Y
refresh_interval=1440
For example in the above configuration i want to refresh/update only 'name=Customers' request.
Also i want to get only top 20 records which are modified recently.
Thanks,
Sukesh N