Skip to Content
2
Oct 13, 2020 at 02:08 PM

Cloud Foundry - My Inbox - Cannot create component for smart template rendering

937 Views Last edit Oct 14, 2020 at 04:57 AM 2 rev

Hello Experts,

In Cloud Foundry using business application studio I am creating a Custom UI5 application to trigger the workflow. I am referring the following blogs-

https://blogs.sap.com/2020/08/27/starting-workflow-from-custom-fiori-application-in-cloud-foundry/

https://blogs.sap.com/2020/08/31/enhancing-custom-application-as-workflow-task-ui-in-cloud-foundry/

https://blogs.sap.com/2020/09/10/create-workflow-mtar-application-with-custom-ui-using-business-app-studio/

I have created 2 applications -
App1) Workflow

App2) Custom UI5 app using which I am able to successfully trigger the workflow from UI5 app and I can see that item in My Inbox as well. PFB-

However, once the item is selected in My Inbox it is throwing the following error:

PFB code from my custom UI5 application:
1) xs-security.json

2) xs-app.json

3) mta.yaml

4) Service Instances in Cloud Foundry

I am not sure why My Inbox is unable to load the component of the custom ui5 application, which as a standalone app is working fine.

The url which My Inbox is trying-https://xxxxxxxtrial.cockpit.workflowmanagement.cfapps.eu10.hana.ondemand.com/nsPOCCreateInvoice/Component-preload.js

Standalone app url-
https://xxxxxxxtrial-dev-myapp-cap-createinvoice-approuter.cfapps.eu10.hana.ondemand.com/nsPOCCreateInvoice/Component-preload.js

Can you please help.

Thanks & Regards,
Shubham

Attachments

ftcp3.png (70.5 kB)
gvalu.png (23.1 kB)
zefcu.png (39.1 kB)
82lh6.png (66.2 kB)
tlnbo.png (93.5 kB)
zgyyt.png (57.7 kB)
48bhw.png (67.7 kB)