on 12-14-2021 7:29 AM
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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')"),RegardsMeenakshiUser | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.