Reputation: 81
I was wondering if/how I can reuse a fragment definition created in application 1 within application 2?
Background: I have 4 application (due to technical reasons there need to be 4 standalone fiori applications) displaying similar data.
My approach would have been to create fragments and reuse them across all 4 applications.
But how can I load fragments from another application?
Most stuff I've found either is limited to relative paths or JavaScript modules....
Upvotes: 1
Views: 1488
Reputation: 81
After digging a little further, I noticed that I can register the desired module path using
jQuery.sap.registerModulePath("name.space", "/sap/bc/ui5_ui5/sap/bsp_name");
Upvotes: 1