Skip to Content
Jun 29, 2019 at 11:03 AM

How to reuse element definition in Fiori fragments


Hi Everyone,

I have interesting case that I thought you might want to have a look at.

In my Fiori Elements Application there are two fragments defined via XML files in the ext (extension) folder. One defines extension column and the other - custom facet.

They both contain definition of StackedBarMicroChart. This definition is identical and I always want to keep it the same for both fragments.

I am wondering how to define the StackedBarMicroChart at one place and then somehow include it in the definition of both fragments so that I avoid having repetitive code.

Thank you and

Best regards