View Full Version : How can I override DataProxy?

7 Apr 2011, 8:19 AM
I have special Javascript AJAX API to work with Salesforce (CRM Platform) to read/write data into it. It supports all CRUD operations. I would like my ExtJS store to support all these operations using that API. How can I extend store's functionality to support this?
I was thinking of using onRead/onWrite properties of DataProxy to run API methods from them but I keep getting following error: DataProxy attempted to execute an API-action but found an undefined url. Obviously it needs an endpoint that i don't really have.
Any example of overriding store's CRUD operations would really help. Thanks!