1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    492
    Vote Rating
    1
    Answers
    12
    abcdef is on a distinguished road

      0  

    Default Answered: Creating a model with id from back end?

    Answered: Creating a model with id from back end?


    Hello, When I create a model and post it to the server, Ext sends an id by default. I need this id to be one that is generated by my mongo backend. What is the correct way to handle this such that the model gets created by Sencha and then gets updated with the one that server sends on creation? Please help! Thanks!

  2. Hmm, looks like it updates the model automatically. Apologies for the noise! Thanks!

  3. #2
    Sencha User
    Join Date
    Mar 2010
    Posts
    492
    Vote Rating
    1
    Answers
    12
    abcdef is on a distinguished road

      0  

    Default


    Hmm, looks like it updates the model automatically. Apologies for the noise! Thanks!