Voting: 
Vote up!
0 Votes
1 Replies
Unanswered

Resetting lastSyncTimeStamp

Question asked by Narasimhulu Palla on Feb 27, 2017 05:12 EST

Hi, Do we have any api to reset the last_sync_timestamp as per our requirement. Suppose in one of scenario I want to download data since last one week. I have found that we have sync.reset() which will wipe off complete device database and then again sync down the latest data since beginning.  We need not to remove complete data but we need updated data since last one week.  Is this possbile in kony sync 6.0.3 plugin.   Thanks, Narasimha.

Posted In
Kony Inc Kony Sync
Vote up!
0 votes
Vote down!

Hi Narasimhulu,

For your case, where you want to download data since last week you can use filters on server side if its for all users and if specific to client you can use client side filters. 

http://docs.kony.com/konylibrary/sync/kony_mobilefabric_sync_getting_started_guide/Default.htm#Filters.htm%3FTocPath%3D_____12

FYI, 6.x has reached EOL, recommend you to upgrade and develop on 6.5.x version. Though 6.x also supports filters.

 

Regards

Kushal

Replied by: Mar 22, 2017 11:28 EDT