cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements: @common.QuickInfo

former_member729305
Participant
0 Kudos
2,318

Dear all,

we are currently building some fiori elements object pages and want to implement a description for each field like a tooltip.

Our idea was to implement a description with additional information when you hover over a field for example.

Does anyone know what the annotation @Common.QuickInfo (resepctively the @Core.Description annotation) does, delivers and how it's implemented? We assumed it could be done by using this one.

annotate TestService.Test_Entity with {
 test @(Common : {
 Label : 'Test Label',
 QuickInfo : 'Test quickinfo'
 });

Accepted Solutions (0)

Answers (1)

Answers (1)

rounak_roy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Max,

If you want to implement tooltips for the field in the Object Page, you can try the below in your CDS.

Annotation EndUserText

{

quickInfo : YOUR_STING;

};

Also you can check the link https://help.sap.com/doc/f9edb0c2e59e426da97a81719be1d11c/1511%20000/en-US/frameset.htm?e01287b0f778...

Regards,

Rounak

former_member729305
Participant

Hello Rounak,

thanks for the reply.

Do you know if that works with CAP/Fiori Elements?

If I use

entity TEST: managed {
        key ID      : UUID;
        testfield   : String @Common.QuickInfo : 'test Info';
        testfield2  : String @EndUserText.quickInfo : 'test Info';
}

none of them appears to work in the UI.

Regards,

Max

priyankaG
Participant
0 Kudos
Hi Rounak, Is there any solution for cap App on odata v4 ?? Appreciate your help