cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fiori Launchpad Plugin - attach logic after page has been rendered

Manuel__
Newcomer
0 Likes
248

Hi,

I am currently developing a fiori launchpad plugin and my requirement is to attach a custom control to SAP standard fiori apps which use the semantic object page control and add my custom control as a separate section. Therefore, my idea was to wait until everything is rendered to look for the page section where to add my control. This is also the reason, why i can't use the onAfterRendering method, since the component controller itself is faceless and does not have a UI. Even if i were to switch to sap.ui.core.UIComponent (as opposed to sap.ui.core.Component) it wouldn't work for the reason that there is simply no UI. 

I have been looking around and experimenting with a bunch of approaches now like using the sap.ui.ushell.Container.getRenderer("fiori2") method and attach an event listener for the afterRendering event there but that doesn't seem to work and also this method call seems to be deprecated.

Any ideas or suggestions would be highly appreciated. Thanks!

Accepted Solutions (0)

Answers (0)