Answered: Dynamic Store using metadata Null model and fields
Answered: Dynamic Store using metadata Null model and fields
Hi I'm having an issue with my store using metadata. I get null values for model and fields when i do store.getFields() or store.getModel(). The store contains the relevant data in this case the users but the model and fields of the store is null. I would like to know what I'm missing in order to populate the fields and model. Thanks
I'm using json similar to the following for testing.
Thanks figured it out. I was assuming that it would created the model for me if I set the fields in the metadata.
"fields: Config used to reconfigure the Model's fields before converting the response data into records"