cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Fieldgroup from other entity

0 Kudos

Hello Experts,

I have encountered an issue in my Fiori Elements odata v4 project when using FieldGroups from an associated entity. I have created an example repo showcasing the issue here. In short the scenario is the following:

  • I have two entities "Books" and "Summaries" that are related through an association.
  • Both entities have an annotated FieldGroup displaying some information.
  • I would like to display the Fieldgroup that is defined inside of "Summaries" in the Object Page Header of a Fiori Elements List Report floorplan based on "Books".

The fieldgroup that is not working can be found on row 27 in annotations.cds in the repo and looks like this

@UI.HeaderFacets: [
  {
    $Type: 'UI.ReferenceFacet',
    Target: 'summary/@UI.FieldGroup#MyId'
  }
]

where summary is the association to the Summaries entity set. If anyone has any input as to how to make this work it would be much appreciated!

Best regards,

Jibbril

Accepted Solutions (1)

Accepted Solutions (1)

Will answer my own question for anyone else that might be in the same situation. After creating an incident report about this issue the SAP development staff informed me that accessing the fieldgroup of an associated entity like described above is not supported at this time.

Best Regards,

Jibbril

Answers (0)