cancel
Showing results for 
Search instead for 
Did you mean: 

Binding Issue in SimpleForm

mr22
Advisor
Advisor
0 Kudos

Hi Everyone,

I am facing an issue while displaying data on my SimpleForm. I have used the default model defined in the Manifest file; and Element Binding to display data. Based on the primary keys- 'IKitId' and 'IWerks', the data will be filtered. Please find the code snippets-

Controller-

View-

The data is coming from the backend and I can't see any errors on my Console. Still, my SimpleForm fields are empty. Please guide.

Regards

Meenakshi Raina

View Entire Topic
0 Kudos

Hi meenakshi.raina,

I think when you bind it with a filter request the response would be an array of items, even though you have a single item in the list.

Could you try binding with a key. Something like below.

oLOIFom.bindElement("ET_Kit_LastOrderSet('someid')");

Thanks, Sachin!

mr22
Advisor
Advisor
0 Kudos

Hi Sachin,

Thanks for your response. In the previous screenshot, I have tried to pass the primary key -KID and Werks as the filter. Now, I've removed the filter and tried with your suggested syntax, but it is giving an error now.

oLOIForm.bindElement("/ET_Kit_lastorderSet(IKitId='IKitId',IWerks='IWerks')"),

RegardsMeenakshi
0 Kudos

It seems the backend request is failing now. Could you check if there is any issue with request.

Thanks, Sachin