Sencha Architect Forums /
Sencha Architect 2.x: Help & Discussions /
Custom new Odata proxy Component for Architect
I have tried to create a new odata proxy component for Architect.
But I am getting an error while importing this code.
Can I know what is wrong with this one?
I got OData.js working via JS resource and CreateAlias
I copied the OData.js file to my Architect project folder and then in Architect added OData.js to my project's Resources:
Screen Shot 2013-04-01 at 4.47.19 PM.png
I then created my Model, gave it RestProxy and set the createAlias config on it to odata:
Screen Shot 2013-04-01 at 4.48.58 PM.png
That was it.
Were you doing something similar?
I did the same thing as you mentioned.
with this proxy, I'm getting this error in Sencha Architect
Please make sure that the URL you set for your proxy is either local, or similar to the URL you set in your projects settings.
If you plan to use a different domain, please use a JsonP proxy.
Using OData.js and SA 3
update: even it shows , it ran okay. thanks