E
egarcia
Guest
Hello Meyrick, I am guessing you are using the local storage APIs for the JSDO. What do you see when you call dataSource.read()? Do you see a network request to read from the OpenEdge backend? There is an undocumented property that could help you in this scenario. You could use readLocal: true in the transport definition of the data source for the JSDO. The readLocal property of the transport tells the JSDO to read the data from the local memory instead of performing a network request to read the records. Note: This readLocal property is not related to the readLocal() method of the local storage API. You should be able to perform create, update and deletes while using readLocal which would update the local memory. A read() from the data source would read the local memory. You can switch the property in the transport dynamically using dataSource.transport.readLocal = true/false. Please let me know if this helps you. Thanks, Edsel
Continue reading...
Continue reading...