cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Elements: Object Page - @UI.facet Type #COLLECTION and #FIELDGROUP_REFERENCE not working

saudshaikh
Explorer
0 Kudos

Hello,

I have added @UI.facet annotations in metadata extension file for CDS of an Object Page. Type is #COLLECTION and #FIELDGROUP_REFERENCE as below:

saudshaikh_0-1713178826153.png

I have also marked the Elements to fall in each bucket. However, it has no effect on the output. See below:

saudshaikh_1-1713179003486.png

It shows static Facets like General Information and Second Facet (possibly defaults). I saw a similar question here: Adding a field group to Object Page but not resolved. Any suggestions?

UI5Version: "1.32.1"

saudshaikh
Explorer
0 Kudos
Update: It seems @UI.identification works and information does get displayed under General Information. However @UI.facet still has no effect and @UI.fieldGroup has no effect. Anybody can shed light on how to troubleshoot this further? Thanks!
View Entire Topic
saudshaikh
Explorer

Well, finally found the answer to this issue in this brilliant blog from Pawan Kesari: CDS-Fiori Elements – Object Page Facets

Below is the reason mentioned by Pawan in his blog above and he's spot on:

saudshaikh_2-1713338516575.png

 

I recalled that I had as well created the Project before adding the Facets in Metadata Extension file and found this:

saudshaikh_1-1713338418548.png

After deleting manually, it works. Thanks to Pawan: My Experiments with ABAP