cancel
Showing results for 
Search instead for 
Did you mean: 

How we can implement the "Select" variant for fiori elements list report.

joy_gupta
Explorer
0 Kudos

Hi All,

I want to implement the "Standard" variant for fiori elements list report in table level. I have implemented the custom CDS and annotation application in which I can see the variant in Header but not in table level. Attaching the screenshot for the same. Kindly suggest.

Thank you,

Sipra

sasolai
Explorer
0 Kudos

Hi Sipra,

I´m facing the same issue.

Did you find a solution? If yes, can you share please?

mary_silvester
Explorer
0 Kudos

Hi Sipra,

In manifest.json add the below configuration

 "smartVariantManagement": false
 
Thanks,
Mary Silvester

Accepted Solutions (0)

Answers (1)

Answers (1)

leonikussmaul
Product and Topic Expert
Product and Topic Expert

Hi Sipra,

To use the variant management feature also for the table, you can enable the 'smartVariantManagement' property in your manifest.json file.

"sap.ui.generic.app": {
        "_version":"1.1.0",
        "pages": [
            {
                "entitySet": "YourEntitySet",
                "component": {
                    "name": "sap.suite.ui.generic.template.ListReport",
                    "list": true,
                    "settings" : {
                        "gridTable" : false,
                        "multiSelect": false,
                        "smartVariantManagement": true

See here for more information.

joy_gupta
Explorer
0 Kudos

Hi leonikussmaul ,

Thank you for your response.

I checked in manifest file, "smartVariantManagement": true is set to true. Still, it does not appear in table level.

Thank you,

Sipra

leonikussmaul
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sipra,

There is a Guided Development in Fiori Elements that will complete this step for you. Simply enter >Fiori:Open Guided Development in the command palette and search for the one called 'Configure Variant Management'. In the dropdown for Variant Management Type, chose 'Control'.