Dear colleagues,
I have 2 UI5 applications. Let's say A and B. And A depends on B. They have been deployed as BSP applications on netveawer server.
My question is the js files in B can't be loaded into A on the server.
What's the UI5 reference loading policy? or how to deploy these 2 appliations then those dependent js files can be loaded?
Thanks!
Regards
Eric
sapui5 uses require() & declare() concept for reference..
you need to declare a call using jQuery.sap.declare("com.test.something.other");
you can then use this class in another place, by
jQuery.sap.require("com.test.somthing.other");
make sure you do not do a cyclic dependency, as this would put them in an infinite loop
if they are in different applications, you can jQuery.sap.registerModule() concept to remotely load js classes..
Add a comment