cancel
Showing results for 
Search instead for 
Did you mean: 

SMP Offline

Former Member
0 Kudos

Hi Everyone,

I am trying to implement SMP 3.0 offline features for odata without delta query implemented in the backend.

As SMP takes of delta query.

How to achieve this, what setting need to be configured in the SMP, Is it possible to track the number of records from SMP server to front end being passed.

Regards,

Nivetha

Accepted Solutions (0)

Answers (3)

Answers (3)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Looping

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you tell what kind of app development it is? Hybrid (kapsel based) or native (android/iOS)?

Former Member
0 Kudos

Hybrid (Kapsel based)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you get a chance to look at

Former Member
0 Kudos

Hi Jitendra,

Trying to achieve offline in SMP without delta query in backend.

Below are the settting made in SMP 

Configuration file

[endpoint]

Name=com.dse.oodata

prepopulate_offline_db=Y

prepopulate_offline_db_interval=1440

indexed_type=Z_TM_CUST_DATA.CUSTOMER: CustName

request_format=atom

delta_request_format=atom

[defining_request]

name=CUSTOMER

is_shared_data=Y

refresh_interval=1000

track_deltas=Auto

delta_token_lifetime=2000

On refresh of the application, getting all the records in front end,  instead of the updated / newly created record.

Is there any other configuration  / setting to be done to achieve this.

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you only want a subset of records to be stored on the device, you could try using a filter in the defining request.

If you want to only display certain rows in the UI, you could use top and skip.  See also

Regards,

Dan van Leeuwen

Former Member
0 Kudos

Above query is regarding how to achieve the SMP delta for offline.