Hi Thomas, How would this work if a managed approuter is used ? I tried this with a managed approuter but the rest API's calls are not working. The odata retrieval seems to be working as expected in a managed approuter. We like to use the SAP Build Workzone as the main launchpad but this is a managed approuter and any of the redirection to any of the api routes are failing. Hope you can shed some light into this.
Managed App router would still read the routing information from an xs-app.json. In the deployment configuration using a managed app router you have to pass it the xs-app.json reference.
Update: Leaving the original question for others. When a CAP template project is used, the srv nodejs folder is automatically created. Can both the manual express-service and the CAP srv work together ? Found a way to bootstrap cloud programming with express on the following video from Thomas Jung :D. ruclips.net/video/JTgV-1GzVm8/видео.html
Have a look here: github.com/SAP-samples/cloud-cap-hana-swapi/blob/main/.devcontainer/devcontainer.json#L15 In this dev container configuration you will find the common VSCode Extensions that I personally use for this type of development. The most critical ones are the "sapse.vscode-cds" - that's the CAP CDS extension. And if you plan to do UI development you definitely want the Fiori Tools extension pack as well "sapse.sap-ux-fiori-tools-extension-pack".
Hi Thomas, Awesome tutorials . Please help me in one scenario where I want to call web service exist SAP OP system from Node JS APP. I created one Web service in on premise SAP System . I Created Node JS APP . Please guide me how to call the Service from Node JS APP .
As your question is not directly related to the content here, I'd suggest that you ask your question on the SAP Community Q&A. I'd also suggest looking at CAP and reviewing their documentation on consuming services cap.cloud.sap/docs/guides/consuming-services
Hi Thomas,
How would this work if a managed approuter is used ? I tried this with a managed approuter but the rest API's calls are not working. The odata retrieval seems to be working as expected in a managed approuter. We like to use the SAP Build Workzone as the main launchpad but this is a managed approuter and any of the redirection to any of the api routes are failing. Hope you can shed some light into this.
Managed App router would still read the routing information from an xs-app.json. In the deployment configuration using a managed app router you have to pass it the xs-app.json reference.
Update: Leaving the original question for others. When a CAP template project is used, the srv nodejs folder is automatically created. Can both the manual express-service and the CAP srv work together ? Found a way to bootstrap cloud programming with express on the following video from Thomas Jung :D. ruclips.net/video/JTgV-1GzVm8/видео.html
Hi Thomas,
great tutorial. Could you help me with the extensions that you have on your visual studio please?
Have a look here: github.com/SAP-samples/cloud-cap-hana-swapi/blob/main/.devcontainer/devcontainer.json#L15 In this dev container configuration you will find the common VSCode Extensions that I personally use for this type of development. The most critical ones are the "sapse.vscode-cds" - that's the CAP CDS extension. And if you plan to do UI development you definitely want the Fiori Tools extension pack as well "sapse.sap-ux-fiori-tools-extension-pack".
@@sapdevs thanks
Hi Thomas,
Awesome tutorials . Please help me in one scenario where I want to call web service exist SAP OP system from Node JS APP.
I created one Web service in on premise SAP System . I Created Node JS APP . Please guide me how to call the Service from Node JS APP .
As your question is not directly related to the content here, I'd suggest that you ask your question on the SAP Community Q&A. I'd also suggest looking at CAP and reviewing their documentation on consuming services cap.cloud.sap/docs/guides/consuming-services
@@sapdevs Thanks you