‎2019 Jun 19 12:01 AM
Hi, experts
I have a question about Multi-Target Application.
I created the Multi-Target Application and also put various javascripts into controller package in ui module.
I attempted to call some Node.js method in code_node module from controllers.
However, I could not call it. How can I call it?
I don't know how to call Node.js method from UI5 javascript.
If I need to resolve dependencies, then please let me know.
Best Regards
‎2019 Jun 19 3:52 AM
Hi Yutaro,
My understanding is that MTA is a deployment package and each component is deployed on SAP Cloud Platform like SAPUI5 frontend, Node.js server side and the DB. It is not in the same development structure that SAPUI5 code uses Node.js code.
Please take a look at https://blogs.sap.com/2014/11/15/integrate-sap-ui5-or-open-ui5-with-nodejs/.
Regards,
Masa
‎2019 Jun 19 5:24 AM
Probably some sample code helps.
‎2019 Jun 19 4:36 PM
Hi Masayuki
I will confirm sap blogs you mentioned and analyze source codes.
Yutaro