iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
How can we use Crosslight Enterprise Framework to enable offline storage with filtered data? While the app can be semi-disconnected, we need our app to able to download data based on a given criteria, condition and/or range. I'm not sure that was covered anywhere in an article, documentation or sample codes. Well... we don't want to load all data from the database and store it in a local storage, because that would be absurd - considering data can be very huge. Although there will be instances where all data from specific tables should be stored locally, like those that are used as lookup tables (e.g. Caregories).
How can this be accommodated by the Enterprise Framework? Say for example, we only need data stored locally based on the user. By that, we mean a set of data (filtered) from a parent table and child tables that are related to the parent. At the same time, also include all data from specific tables that are used as lookup tables (e.g. Categories), useful when creating new records offline. We've done filtering that includes data from related entities with an always online counterpart by using Includes in a QueryDescriptor for some ViewModels that require FilterQuery/ViewQuery. But, since synchronization downloads data AppService.OnStart we need to customize its behavior to download or synchronize only the data that we need. Now, how do we do that with Crosslight's data synchronization APIs?
Hi Jimmy,Using our Enterprise Framework, if you want to do partial synchronization, you actually just need to applying the filter in the server side (BeforeExecuteQueryDelegate). Here is the documentation: http://developer.intersoftpt.com/display/crosslight/Synchronizing+Data. Please see section Adding Custom Filter To Synchronization QueryLet me know if this solve the partial sycnchronization.Best Regards,Arief
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname