Skip to Content
avatar image
Former Member

How to create offline store using filter at defining request

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 03, 2017 at 01:00 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded