cancel
Showing results for 
Search instead for 
Did you mean: 

Cutsom Route points to std fiori app viewPath -- Time Approval

former_member254395
Active Participant
0 Kudos

Hi Experts,

I extended the Time Approval Fiori Application. Its working fine with the extended functionality.

Now I got requirement to have mass approval functionality on it. In-order to do that I added a custom view on master page with below routing on the component.js file of the extended application.

routing: {

  "routes": {

  "masterDetail": {

  "subroutes": {

  "master": {

  "subroutes": {

  "massApprove": {

  "pattern": "massApprove",

  "viewPath": "XX.tm.mss.timeapproval.view",

  "targetAggregation": "masterPages",

  "view": "S2MassApprove",

  "viewLevel": 2

  // "targetControl":"MainSplitContainer"

  },

  "MassDetails": {

  "pattern": "massApprove/Details",

  "viewPath": "XX.tm.mss.timeapproval.view",

  "targetAggregation": "detailPage",

  "view": "S3MassDetails",

  "viewLevel": 2

  // "targetControl":"MainSplitContainer"

  }

  }

  }

  }

  }

  }

  }

I can see the routing takes to the std fiori applications path as show below from console. Its suppose to point to the extended  time approval applications view path as mentioned on the routing.

Can someone help me to identify the mistake on this code .

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member254395
Active Participant
0 Kudos

Hi Experts.

Any inputs on this....!