cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid Unnamed Object in the UI.headerInfo.title.value by create

gregiss
Discoverer
0 Kudos
555

Tutorials: https://developers.sap.com/tutorials/fiori-tools-rap-modify-object-page.html
--------------------------
Referring to
@UI: { headerInfo: { typeName: 'Travel', typeNamePlural: 'Travels', title: { type: #STANDARD, value: 'Description' }, description: { value: 'TravelID' } },

This annotation works perfect by display and edit mode, but by create mode there is not yet a TravelID/Description and it will show "<Unnanmed Objext>" instead. Is possible to avoid that either with a default text or by hiding the title and/or the description value(s)?

View Entire Topic
Omkar_Ghadashi
Explorer
0 Kudos

Hi Stefano,

You can override the NEW_OBJECT in the i18n key file.

Please find the below reference:

https://sapui5.hana.ondemand.com/sdk/docs/topics/63946c02df1d45efbbad5b1658fef3a5.html