3 weeks ago
Hello everyone!
In a Fiori Elements application I'm trying to navigate to an ObjectPage by clicking on the button and I am getting this error in the console.
Could anyone tell me what I'm doing wrong?
Best regards,
Brenda Alves.
Hi,
Please use the navigateInternal method from the ExtensionAPI NavigationController (same as the commented code).
Now regarding the parameters , the first parameter can be the context object (Apuracoes) and the second is an object where the navigation property information (to_apuraceos) can be passed.
var oApi = this.extensionAPI;
var oContext = //create a new context
var oNavController = oApi.getNavigationController();
var oNavInfo = {
navigationProperty: "to_NavProperty"
};
oNavController.navigateInternal(oContext, oNavInfo);
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.