cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Cloud Workflow not loading UI5 component

2,096

Hello,

I've just started learning SAP Cloud Workflow and I cannot load any UI5 app as User Task(it is empty as bellow). I am currently working in SAP Business Application Studio and all of the tutorials so far seem outdated. Did anyone had this issue before or has a good tutorial on it using Business App Studio?

View Entire Topic
martingerritsen
Explorer
0 Likes

I think this will be caused by the app router configuration in the mta, please check module ...-destination-content. The destination default set for instance.

Change parameters > content > instance to subaccount and i hope your problem is fixed. The sample code is added to the MTA using Yeoman gen "Routing Config".

If you already deployed the application to CF, first undeploy, build and deploy again. Note that the policy for existing destinations is set to ignore. When needed change to update.

- name: FrameworkActivities-destination-content
  type: com.sap.application.content
  requires:
  - name: FrameworkActivities-destination-service
    parameters:
      content-target: true
  - name: FrameworkActivities_html_repo_host
    parameters:
      service-key:
        name: FrameworkActivities_html_repo_host-key
  - name: FrameworkActivities-auth
    parameters:
      service-key:
        name: FrameworkActivities-auth-key
  parameters:
    content:
      instance: <<<< subaccount:
        destinations:
        - Name: nlsampleframework_FrameworkActivities_html_repo_host
          ServiceInstanceName: FrameworkActivities-html5-app-host-service
          ServiceKeyName: FrameworkActivities_html_repo_host-key
          sap.cloud.service: nlsampleframework
        - Authentication: OAuth2UserTokenExchange
          Name: nlsampleframework_FrameworkActivities_auth
          ServiceKeyName: FrameworkActivities-auth-key
          sap.cloud.service: nlsampleframework
        existing_destinations_policy: ignore
  build-parameters:
    no-source: true