cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling and configuring MDK Offline Paging

cabraldaniel
Explorer
0 Kudos
417

Hi!

We've developed an MDK solution and need to activate paging for the offline sync due to the amount of data we're dealing with. Where we can activate it and configure the page size? I'm been searching here Defining Offline Settings for Applications - SAP Mobile Services Documentation and similar configurations, without success.

Can anyone give us a tip? 😄

Thanks in advance!

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
cabral.daniel

Are you looking to define the page size in your MDK app? Do you want to load the first 'n' number of records when the page loads?

View Entire Topic
cabraldaniel
Explorer
0 Kudos

Hi Bill!

I've found a solution! I was trying to find a MDK-only solution (client-side paging), without success. In our CAP backend, I've fixed the max page size in the parameters cds.query.limit.default and cds.query.limit.max.

Playing with these we found a good number who won't hurt the non-MDK users (UI5 pages, for example).

Thank you!