Hi Ajay,
Main reason could be myinbox doesnt have any route defined for master page navigation. If we add master page route in component.js it may work.
For other apps:
masterPageRoutes: {
"master": {
"pattern": ":scenarioId:",
"view": "srm.sap.purchaseOrder.view.S2"
}
},
detailPageRoutes: {
"detail": {
"pattern": "detail/{contextPath}",
"view": "srm.sap.purchaseOrder.view.S3"
},
"itemdetail": {
"pattern": "itemdetail/{work_item_id}/{po_number}/{item_id}/{item_index}",
"view": "srm.sap.purchaseOrder.view.S4",
}
},
For MyInbox app:
viewPath : "cross.fnd.fiori.inbox.view",
detailPageRoutes : {
"detail" : {
"pattern" : "detail/{SAP__Origin}/{InstanceID}/{contextPath}",
"view" : "S3"
},
"multi_select_summary" : {
"pattern" : "multi_select_summary",
"view" : "MultiSelectSummary"
}
},
fullScreenPageRoutes : {
"detail_deep" : {
"pattern" : "detail_deep/{SAP__Origin}/{InstanceID}/{contextPath}",
"view" : "S3"
},
"substitution" : {
"pattern" : "substitution",
"view" : "ViewSubstitution"
}
}
If we able to add master page routing to myinbox I belive I can avoid default navigation to first item in iPhone. Please provide your inputs.
Regards,
Arun.