on 2021 Jul 26 12:49 PM
Dear Experts,
I want to use common libraries (Controller, i18n etc ...) in BAS development. However, I'm in trouble because I don't know how to do it.
Regards,
rinn.
Request clarification before answering.
We had the same problem.
We also transferred from WebIDE and the solution was relatively simple, to use the library from within your workspace:
Of course, the library must be referenced in the manifest.
Also, in your ui5.yaml an additional item under:
server:
customMiddleware:
- name: fiori-tools-servestatic
afterMiddleware: compression
configuration:
paths:
- path: /resources/namespaceoflibrary
src: /home/user/projects/librarynfolderame/pointtolibraryjs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the late reply.
It was helpful while searching for a way to achieve it. thank you.
I'm sorry I couldn't make it the best answer ...
But I really appreciate it!
User | Count |
---|---|
59 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.