Hello everyone,
i solved the problem. I used __deferred instead of __metadata. Furthermore, i have to cut the first character (/) from the path.
- payload.Title = {
- __deferred: {
- uri: this.getView().byId("selectTitle").getSelectedItem().getBindingContext().getPath().substring(1)
- }
- };
- payload.Country = {
- __deferred: {
- uri: this.getView().byId("selectCountry").getSelectedItem().getBindingContext().getPath() .substring(1)
- }
Best regards,
Manjinder Singh