cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Flexible Programming Model Explorer - Building Block FilterBar doesn't have Variant Management

VigneshMP
Explorer
0 Likes
484

Dear Community,

I am using Flexible Programming Model to build my custom page. And I have used sap.fe.macros.Table to build my list report table and sap.fe.macros.FilterBar to build my Filter Bar and had linked both. I need to enable Variant Management out of box similar to my Fiori Elements List Report Apps, but I can see the Variant management option available only for the table and not for the Filter.

VigneshMP_0-1752470600379.png

Using 'Page' as a value to Variant Management in table macro also doesn't work and only Control value works and enables Variant management only for my table. Hence my Filter is left out.

Is there anything I am missing? any standard alternative available?

 
 
 
 
 
 
 
 
 
 
 

Accepted Solutions (0)

Answers (1)

Answers (1)

Fabrice
Active Participant

Hi,
maybe this example can help you: Flexible Programming Model Explorer
It use a VariantManagement building block

<macros:VariantManagement id="vm" for="FilterBar,LineItemTable" showSetAsDefault="true" headerLevel="H2" />


But the VariantManagement class is only available since UI5 Version 1.132

Fabrice_0-1752565010033.png

Regards,

Fabrice

VigneshMP
Explorer
0 Likes

Hi Fabrice,

Thank you for the input. Currently I don't have the supported UI5 version.
But looks like a promising solution.

Thank you 🙂