on 06-01-2023 2:58 PM
Hi,
I currently have a CAP project that includes multiple UI5 apps. The structure is similar to the following:
/
|--app/
|--app1/ // application 1
|--webapp/
|--ext/controller/
|--app1viewX.controller.js
|--app2/ // application 2
|--webapp/
|--ext/controller/
|--app2viewX.controller.js
|--db/...
|--srv/...
|...
These 2 controller extension files contain the exact same function. My goal is to extract this function to a common file, where both applications' controller extensions can call it.
Is there a way to do this?
Important to note that the build process packages these 2 applications independent from each other (one HTML5 app created from app/app1, another one from app/app2).
Thanks
Best regards,
Atakan
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.