Java Module Schema Access | bront | 2015-04-21 13:28 |
Status: Closed | ||
Jon, You couldn't have written at a better time. I am currently working on this. Yes, I think this is going to work perfectly for us. However, I just upgraded to 15.1, and I am running into a problem. Do you mind if I hijack this thread in a slightly different direction? Suddenly, or so it seems, the following simple bit of code is returning either "Cannot read property of GetProxy' or just a straight 404. I am in my custom module. The tables are visible in the schema. Any idea what could be going on? x = Ext4.create('Ext4.data.Store', { schemaName: 'mySchema', queryName: 'myTable', autoLoad: true }); So… a few possibly related questions... 1. How should I import ext4 into my asp? resources.add(ClientDependency.fromPath("clientapi/ext4")); -or- resources.add(ClientDependency.fromPath("Ext4")); 2. For stores, should I be using: Ext4.create('Ext4.data.Store... -or- Ext4.create('LABKEY.ext4.data.Store... 3. Also, I am still exposing the tables via the code in the first section… I have since added mySchema.xml file under resources/schema. It's very simple and based on the demo module. Is this required? Does the .xml file give me finer control? Better security? Many thanks, bront |
||