Hi,
I have referred this link Getting Started with Kapsel - Part 10 -- Offline OData (SP09+)
I have written the below code
<script>
var appId = "com.mycompany.offline"; // Change this to app id on server
var applicationContext = null;
var smpServerProtocol = "http";
var smpServerHost = "Ipaddress"; // Given our system ip
var smpServerPort = "8080";
var authStr = "";
var store = null; //Offline OData store
var startTime = null;
var online = navigator.onLine;
All other functions are same as the Index.html file mentioned in the above link.
It will get register successfully and data can be read when it is in online.
But when we read in the offline mode it prompts an alert after some time as:
An error occured {"message":"Request timed out"}
And i am getting the below errors in the log.
Please let me know the solution.
Thanks in advance.