Search Type: Posts; User: Luc

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    2,454
    Hi Dean,

    Fantastic!

    Glad I could help.
  2. It's a bit strange to have both the record and rootProperty of the reader set to 'users'. Like Mitchell said: if you show us a sample of the XML, we can help you further.
  3. Replies
    9
    Views
    2,454
    Hi,

    Did you try to include "useHeaderAuthentication: true"? Like so:



    proxy: {
    type: 'odata',
    url:...
  4. Hi,

    The SAP OData connector works fine for Read operations, but currently only supports modifying operations (Create, Update, Delete) against a SAP Gateway service in SP02 compatibility mode. ...
  5. Confirmed. I have the same issue. A field of type 'date' and e.g. a dataFormat: 'c' should be able to have a null value. writeDate should return null in this case.
  6. Replies
    12
    Views
    3,041
    Hi,

    I tried adding a new record to a store and then sync(). I check the phantom property before and after the sync, and it was (as expected), before: true, after: false.

    Perhaps you can post a...
  7. Replies
    12
    Views
    3,041
    OK, I recognize that error message.

    I got it once when I tried to use DELETE on a collection, for example:

    DELETE /sap/opu/odata/GBHCM/LEAVEREQUEST/LeaveRequestCollection

    instead of...
  8. Replies
    12
    Views
    3,041
    Hi,

    Great you got it working!

    Getting the 405 error intermittently is weird. It suggest the DELETE verb is not allowed, but you would expect to get this error consistently. Have you checked if...
  9. Replies
    6
    Views
    1,205
    Hi,

    Yes, you can have proxies on either the store or the model. I prefer them on the models, for reasons described in:
    ST Documentation: proxy guide

    Also the "SAP ODAta connector readme.pdf"...
  10. Replies
    12
    Views
    3,041
    Hi,

    Thanks for the additional clarification and code. How do you actually send the Request to the server?

    Adding a new model to the store and using store.sync()?

    And does the double create...
  11. Replies
    6
    Views
    1,205
    Hi,

    I assume you are using the SAP OData connector (oData.js file). It already defines appropriate reader and writer configs, so you don't need to configure them again. Like the comment from...
  12. Replies
    1
    Views
    524
    Hi,

    Did you investigate the content of the response? You can use Chrome Developer tools to have a look at all the http requests/responses.

    If you provide more details, maybe we can help...
  13. Replies
    12
    Views
    3,041
    Are you saving an individual model or are you syncing a store in which you have added new models?

    If you are syncing a store, a repeat create suggest that the operation didn't set record.phantom...
  14. Replies
    9
    Views
    2,454
    Your use of listdata.svc seems to suggest you're connecting to SharePoint, not SAP gateway.

    If so, the issue may be the authentication method used. If your SharePoint uses e.g. claims based...
  15. To be able to use the default JSON reader, your JSON data should look like this:


    {results: [{
    "id": "120001",
    "name": "Name1"
    },{
    "id": "120002",
    "name": "Name2"
    },{
  16. Replies
    13
    Views
    2,612
    Try something like this:



    var record = Ext.create(Myapp.model.MyModel, {
    City: 'Hamburg',
    ....
    })

    Ext.widget({
  17. Replies
    1
    Views
    790
    Assuming your application is named 'App' and you have created ST models App.model.Product and App.model.Rubics, try:



    read: function(operation, callback, scope) {
    if(operation.getModel()...
  18. Replies
    1
    Views
    712
    You can use any WebService you would like, but you will need to develop custom proxy/reader/writer for it.

    I have developed custom proxy for SharePoint webservices, extending the ajax proxy.
    ...
  19. Hi,

    root is not a property of the proxy. You should configure it in the JSON reader:


    reader: {
    type: 'json',
    rootProperty: 'recipes'
    }
  20. Sencha Touch version: 2.0.0

    In 'Ext.data.writer.Writer' in method getRecordData, there are 2 occurences of


    fieldConfig.type.type == 'date'

    This should be:
  21. Replies
    5
    Views
    2,763
    It worked for me (on Windows).

    Do you run the sencha generate app command in the directory of the SDK?
  22. Replies
    3
    Views
    851
    Hi boben,

    I am the developer of the example. It's not a dataview, it's a Panel using a HTML template, just like Mitchell said.

    The code of the 'view' is below. Of course you need some CSS to...
  23. Hi,

    If you're interested in the integration of Sencha Touch with SAP systems: I just published a tutorial on how to build a Sencha Touch 2 app that connects to a SAP ERP and CRM system using SAP...
  24. Hi,

    Perhaps it is an issue that you leave out the COMS.model. prefix for the Model class names in the association configurations.

    E.g. try to use COMS.model.CTOS instead of CTOS in the belongs...
  25. Hi,

    I found this thread: http://www.sencha.com/forum/showthread.php?159924-Adhoc-builds-do-not-work&

    What I learned: if you use the 'Release' configuration, the app folder will be build with...
Results 1 to 25 of 89
Page 1 of 4 1 2 3 4