Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to call Node.js method from UI5 javascript ?

yutaroshimizu
Explorer
0 Likes
2,580

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

3 REPLIES 3
Read only

masa_139
Product and Topic Expert
Product and Topic Expert
0 Likes
1,384

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

Read only

masa_139
Product and Topic Expert
Product and Topic Expert
Read only

yutaroshimizu
Explorer
0 Likes
1,384

Hi Masayuki

I will confirm sap blogs you mentioned and analyze source codes.

Yutaro