Skip to Content
0

Custom Navigation Parameters in Fiori Overview Page is not working

Nov 03, 2017 at 07:32 AM

121

avatar image
Former Member

Hi Experts,

I'm following the Fiori overview page documentation to implement the custom navigation parameters, but seems it's not working, the documentation link is https://sapui5.hana.ondemand.com/#/topic/40051b67edaf457cad37d552c37b497d

I think the important part is the extends section of the descriptor file is not working:

"extends": {
	"extensions": {
		"sap.ui.controller.Extensions": {
			"sap.ovp.app.Main": {
					"controllerName": "sap.ovp.demo.ext.customConfiguration"
			}
		}
	}
},

Even there is not any request to the customConfiguration.js in chrome's network panel.

Does anyone have any idea on this problem?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member
Nov 06, 2017 at 05:34 AM
0

There is typo in documentation:

"extends": {
	"extensions": {
		"sap.ui.controllerExtensions": {
			"sap.ovp.app.Main": {
					"controllerName": "sap.ovp.demo.ext.customConfiguration"
			}
		}
	}
},

This should be correct, the extended controller is loaded, but the "onCustomParams" still not invoked, documentation may have more mistakes we don't know?

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Dorian Li,

"controllerName": <Path to custom Configuration controller in your project>

This controller should be inside ext folder in your project.

Regards,

Abhishek

0
Former Member

Thanks for your help Abhishek, yes the custom parameters feature is supported by version 1.48+.

0