Skip to Content
0
May 18, 2016 at 08:53 AM

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

41 Views

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 .

Attachments

console.PNG (37.8 kB)
route.PNG (166.4 kB)