Skip to Content

Navigation events for object page in smart template

Im navigating from an object page to another object page in my smart template application. I want to perform some actions on navigation. Which method can I use for this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 13 at 02:53 PM

    Hi,

    You could have a look at ExtensionAPI's "attachPageDataLoaded" method.

    This takes a function as input and the function would be called on ObjectPage load.

    https://sapui5.hana.ondemand.com/#/api/sap.suite.ui.generic.template.ObjectPage.extensionAPI.ExtensionAPI/overview

    Let me know in case you are looking for something else.

    Regards,

    Pratheek

    Add comment
    10|10000 characters needed characters exceeded