cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 Annotations Advantages with Json Model

07-10-2024 9:38 AM
Chris_2311 Participant
955 views 2 comments
0 Likes
SAP Managed Tags
Labels
FIORIfiori ui5jsonOData V2odatav2ui5
Subscribe

Caused by a few issues i need to convert my Odata V2 Model to Json Model in the OnInit function of my latest UI5 app. So far so good ... no problem so far.

But here comes my problem within this Json Model:
I want to use the automatic advantages of the Odata V2 Annotations within this Json Model Binding, f.e. the automatic search help dialogs and so on ... Is this somehow possible?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Likes

no

Chris_2311
Participant
0 Likes

Hmmm ok ... bad news.
Sadly we are on SAP_UI version 1.71.58 and there we don't have the possibility to use some functions like ODataListBinding#create: (https://openui5.hana.ondemand.com/topic/6c47b2b39db9404582994070ec3d57a2#loio4c4cd99af9b14e08bb72470...)

I think this would be the function that i would need to solve my problem.