You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We created an OData app based on your tutorials and we used the IdInjection set to true in the model json. It works just fine.
However, we are trying to consume this data on SAP Analytics Cloud and we are getting the error:
"Attribute should specify a namespace qualified name or an alias qualified name" when we try to create a model from the service.
The reason for this error is that the id type is 'ObjectId'. When we disable IdInjection and set the id the field to be a string, its type turns Edm.String and we do not get the error anymore. However, then we are not able fetch any entries from the entity as we get the error "TypeError: Cannot read property 'property' of undefined"
Do you know if it is possible to change the default type of the property when IdInjection is activated?
Thanks
The text was updated successfully, but these errors were encountered:
Hello @htammen,
We created an OData app based on your tutorials and we used the IdInjection set to true in the model json. It works just fine.
However, we are trying to consume this data on SAP Analytics Cloud and we are getting the error:
"Attribute should specify a namespace qualified name or an alias qualified name" when we try to create a model from the service.
The reason for this error is that the id type is 'ObjectId'. When we disable IdInjection and set the id the field to be a string, its type turns Edm.String and we do not get the error anymore. However, then we are not able fetch any entries from the entity as we get the error "TypeError: Cannot read property 'property' of undefined"
Do you know if it is possible to change the default type of the property when IdInjection is activated?
Thanks
The text was updated successfully, but these errors were encountered: