Hi, Set autoCreate=false in the Exhibit API URL.
Exhibit has a mechanism for building importers, but if you're already past that, you can look at http://api.simile-widgets.org/exhibit/2.2.0/scripts/create.js and copy it, replacing var fLoadSubmissions = function() { window.database.loadSubmissionLinks(fDone); }; Exhibit.Authentication.authenticate(); window.database = Exhibit.Database.create(); window.database.loadDataLinks(fLoadSubmissions); with something like window.database = Exhibit.Database.create(); window.database.loadData(your-exhibit-json-object); fDone(); The importer route allows Exhibit to do the network fetch so it's clear to the user something is happening; if you're passing a network fetch result to Exhibit, you won't need the continuation style of passing fDone around, but the user may wonder what's happening while your network request is out. On 10/24/11 8:59 AM, kasaba wrote: > Hello everybody, > > How to use exhibit when data is got by rest service in json format. > The question is how to say exhibit to load data from javascript > variable which holds json result from rest service. > > Thanks in advance. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
