Although many questions exist on the same topic, I could not resolve this using the given solutions.
[Snippet from the manifest.json to trigger the same]((https://phpout.com/wp-content/uploads/2023/10/Sb7g6.png)How can I resolve this issue?
Many Thanks
2
Answers
Your
this
is placed in the wrong context or there is no object available while you should have an object for the controller.Most probably you can reach
Source
throughoEvent
(oEvent.getSource()
), which will point out to the controller and then you could callgetView()
:Could you provide your whole controller please? Perhaps something went wrong in the onInit function of it.