Skip to Content
0

How to create offline store using filter at defining request

Sep 11, 2017 at 01:38 PM

36

avatar image
Former Member

Hello Experts,

We are trying to create offline application where we want to apply filter at defining request to fetch specific data in offline store at device.

But we are getting offline store error on device at application startup.

Here is the code sample for defining request:

"sap.mobile":

{ "_version": "1.1.0",

"definingRequests": {

"APPLOGINSet": {

"dataSource": "mainService",

"path": "/APPLOGINSet"

},

"AppEntitySet": {

"dataSource": "mainService",

"path": "/AppEntitySet?$filter=AppEnty%20eq%20%27ApproverListSet%27%20and%20AppProf%20eq%20%27BKGM%27" },

Can you please help me find out is there any issue with filter or method which i am using.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Akos Grabecz
Oct 03, 2017 at 01:00 PM
0

Could you please share what is the exact error message that you're facing? The code is okay, so you just have to make sure that you're pointing to a valid entity set.

Share
10 |10000 characters needed characters left characters exceeded