Hi All,
I was going through some of the Sencha examples and thought it would be a useful exercise to attempt a simple CRUD app with autosync on the store. Basically just wanted to see if/how that would work. I am using Architect 3.1 for this test project.
Here is where I am so far (admittedly not very):
- started with an AutoCode grid app as a base
- removed action: getRecs for extraParams on the proxy
- removed the url from from proxy
- setup the api object like this:
- changed my RPG app to look for the above actions
At this point, Architect is able to sort things out for the read and it populates the grid. Unfortunately, this is as far as I have been able to make it so far. Both preview and running in the portal fail to load the grid. Usually if I see data in Architect I know I am golden.
Any ideas what I might be missing? I suspected getting C, U, and D to work would be the challenge -- but apparently R is no walk in the park either.
Thanks!
David
I was going through some of the Sencha examples and thought it would be a useful exercise to attempt a simple CRUD app with autosync on the store. Basically just wanted to see if/how that would work. I am using Architect 3.1 for this test project.
Here is where I am so far (admittedly not very):
- started with an AutoCode grid app as a base
- removed action: getRecs for extraParams on the proxy
- removed the url from from proxy
- setup the api object like this:
Code:
create : '/valence/vvcall.pgm?action=createRec', read : '/valence/vvcall.pgm?action=readRec', update : '/valence/vvcall.pgm?action=updateRec', destroy: '/valence/vvcall.pgm?action=destroyRec'
At this point, Architect is able to sort things out for the read and it populates the grid. Unfortunately, this is as far as I have been able to make it so far. Both preview and running in the portal fail to load the grid. Usually if I see data in Architect I know I am golden.
Any ideas what I might be missing? I suspected getting C, U, and D to work would be the challenge -- but apparently R is no walk in the park either.
Thanks!
David
Comment