Hybrid View

  1. #1
    Touch Premium Member
    Join Date
    Apr 2011
    Posts
    6
    Vote Rating
    0
    mrdunky is on a distinguished road

      0  

    Default Can I paste JSON data objects directly into Architect to quickly create data stores?

    Can I paste JSON data objects directly into Architect to quickly create data stores?


    Help!
    I have an existing web service that is providing many types of Json responses to Ajax requests.
    We can get this working with Sencha without problem.
    However, when I try paste this pre-generated JSON data into Architect (so that I can work with local data files), it does not let me. It seemed like the json data area was read only.
    Is this possible?

    How can I do this?
    Many Thanks - this will be a huge time saver (we have about 80 data stores).

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Add a Json Store.
    Activate the store in the Inspector panel
    Search for 'data' in the config
    Edit the data config and paste in your response
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Touch Premium Member
    Join Date
    Apr 2011
    Posts
    6
    Vote Rating
    0
    mrdunky is on a distinguished road

      0  

    Default Great. Thank you.

    Great. Thank you.


    That works.
    I also found the over-ride, which I guess we can use when other parts of the model etc are already coded elsewhere.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar