EdsonF
EdsonF

Reputation: 2818

Error in getting Breeze configureMetadataStore

I'm working on a SPA using the Hot Towel Template. I'm currently facing some issues

I'm getting an error on the datacontext.js

[services/datacontext]

Error retrieving data. unable to locate property: CompanyName on entityType: Company:#Atlas.Web.Models

But, the Company Model has a property called CompanyName

Thank in advance for your help guys !

Upvotes: 1

Views: 1397

Answers (1)

EdsonF
EdsonF

Reputation: 2818

The solution was very simple - got it from John Papa on the Pluralsight SPA Jump Start Discussion Forum!

"...when the properties come to the client they are translated to camelCase. try companyName..."

Sorted!

Thanks @JohnPapa

Upvotes: 4

Related Questions