Clientside BO OpenUI5 control as input parameter

  • Dinkel
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
        Has successfully completed the online course Basics (100)
      5 years ago #18497

      I want to create a client-side Business Object with an OpenUI5 control as an input parameter because I want to add some attributes to the control at runtime.
      The problem is that I struggle adding a control as a input parameter and I don’t know how to choose the control itself instead of a property of the control as parameter in the process designer.

      The reason why I want to use a client-side Business Object instead of a script is that I want to use the method in several Business Apps.

      Mathieu Roll
          Has successfully completed the online course Introduction
          Has successfully completed the online course Intermediate (200)
          Has successfully completed the online course Advanced (300)
          Has successfully completed the online course Basics (100)
        5 years ago #18506
        Up
        0
        Down
        ::

        Hello,

        you can’t use a widget as input parameter.

        You have to define a input parameter “id” and than you can use this parameter in your CBO to get the control with the function byId(“MyID”).

        In further Simplifier versions we will provide the id property of the widget to user this as input parameter.

        But for now this is the best way to go.

      Viewing 2 posts - 1 through 2 (of 2 total)

      You must be logged in to reply to this topic.