on 2024 Jul 07 10:30 AM
Hi all,
i'm relative new in the whole UI5/FIORI world and in one of my first apps (ODATA V2 Model, Two Way Binding) i have the following scenario:
- One Entity for my Header Data within a few Smart fields
- One Entity for my Item Data within a table
For the header data i use the ODataModel#createEntry to create a new "empty" Model for my Sales Order Header Data. This works fine.
For the Item Data (table) i want to use the ODataListBinding#create to create a new "empty" row in my table to insert the Sales Order Item Data. This row shouldn't processed immediately from the backend. I only want to have it in my UI and it should be transfered and processed to the backend only after pressing button "Save Sales Order". I think this should work via the SubmitChange function.
My problem now is the following:
We are running on UI5 Version 1.71.58 and i think i can't use the ODataListBinding#create function there.
Am i right?
If yes, what else can i do for my requirement?
I need the ODATA V2 Two Way Binding and something like "Convert to JSON Model and vice versa" isn't an option cause i need some smart fields (via Annotations) in my item table.
I hope anyone of you cracks can help me 🙂
Best Regards
Chris
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.