Forum Simplifier Forum Process Designer getting sap.m.Page from app

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26118
    AvatarKlaus79
    Participant
    • Topics: 36
    • Replies: 45

    Hi,

    is there a possiblity to get the “sap.m.Page” element positioned in the main app from a module.

    In the sap.m.Page different modules are loaded dynamically.

    I want to scroll the sap.m.Page from the app to bottom when a table in the module is growing.

     

    So in a more general way: how can I get access on an element situated in an app from within a module.

     

    Best regards

    Klaus

    #26147
    AvatarJennifer
    Moderator
    • Topics: 0
    • Replies: 20
    Up
    0
    Down

    Hello Klaus,

    You can access an application element from within a module via code, e.g.:

    var oButton = sap.ui.getCore().byId('Screenname--ButtonId');

    In your module, just add a script shape after the event that you are listening to in the Process Designer and add the code there.

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.