Search code examples
ibm-mobilefirstjsonstore

Worklight JSON store load method not populating search fields


I am working on the below example.

http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/JSONStoreAPIBasicsProject.zip

When I add the data locally by using the 'Add Data' button, when the data gets displayed at the top contains name & age as search fields. Perfect.

enter image description here

But when I load the data from the adaptor with the button "Load Data from Adaptor' option. I don't see the search fields getting displayed in the output.

enter image description here

What could be the reason & will it have any effect on the searching capabilities ?

Thanks..Johnson


Solution

  • I cannot confirm this. After playing with adding data and loading data from the adapter, I clicked on "Find all" and it produced the following table. As can be seen, all data is there.

    In any case, you can confirm all data is loading by looking at the response. The table is filled using data from it. It looks like JavaScript/HTML error rather than anything related to JSONStore.

    Provide steps to reproduce it exactly.

    enter image description here