Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

offline data synchronization

$
0
0

 

We are trying to use the offline data synchronization feature of DMS using data modeling.

 

Below is the only example we found on adobe site and its working.

 

http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4ba8596dc6a25eff-56f1 c8f4126dcd963c6-8000.html

 

Also we have read “occasionally connected client”  and Model driver applications documentation in lcds31 user guide.

 

Is there any other example to demonstrate how to use the offline data sync?. We don’t want to generate the  Java code and use assembler class for this .

 

In our example we are implementing the SearchCustomerList Funcationality. Based of search criteria a list of customers is displayed to the user.

Beloew are the configuration settings

 

                        var cs:ChannelSet = new ChannelSet();

                        var customChannel:Channel = new RTMPChannel("my-rtmp",

                                    "rtmp://wpuag85393:2038");

                        cs.addChannel(customChannel);

                        this.serviceControl.channelSet=cs;

                        this.serviceControl.autoCommit = false;

                        this.serviceControl.autoConnect = false;

                        this.serviceControl.autoSaveCache = true;

                        this.serviceControl.offlineAdapter = new

                                    com.deere.itarch.adapter.MaintainCustomerBeanOfflineAdapter();

                        this.serviceControl.fallBackToLocalFill=true;

                        this.serviceControl.encryptLocalCache = true;

                        this.serviceControl.cacheID = "localCache";

CASE I:

 

Below is our understanding of offline data sync. for our implementation.

·          LCDS server is started and application is connected to the server.

·          User enters search criteria and clicks the Search Button.

·          Data is fetched and displayed on the screen.

As autoSaveCache is set to true it should automatically save result in local cache

 

 

·          Shut down the LCDS server.

·          Close the earlier Search Window.

·          Run the application and open the customer search page.

·          Enter the same search criteria and click search.

·          Result : Nothing is displayed on screen. ( No data fetched from local cache)

 

Many times we are getting error cannot connect to server ( when server is running 50% of times)

We also tried setting reconnect strategy to instance. ( but this is also not working)

Also can you please provide end-to-end sample for data synchronization.

 

 

 


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>