Skip to Content
1
Aug 28, 2023 at 09:38 AM

Fiori Elements Navigation to Canvas page event

73 Views

Hello,

I have implemented a canvas page in fiori elements according to this blog post: canvas/custom page in List Report application

It's all working fine but I have currently one problem. I am passing a parameter string to the navigateInternal method.

image.png

The navigation to the canvas page is working fine but I want to read the key/values from the passed string every time the user navigates to the child page in the child controller to adapt the data! To achieve this I have tried different approaches in the child controller with the onBeforeShow method or attachRouteMatched/attachRoutePatternMatched or with the ExtensionAPI events. As it says here the extensionAPI instance is only accessible in the parent component

image.png

I have currently no idea how I can trigger a method in the child controller every time a navigation takes place to adapt the data in the UI. How can I solve this problem?

Thanks!

Best regards,
Dominik

Attachments

image.png (15.5 kB)
image.png (10.4 kB)