Maximo Open Forum

 View Only
  • 1.  How do I get the value of the Textbox through the control id in automation script ?

    Posted 06-05-2023 05:40
    As shown above , the "Department" textbox has a control ID, and I want to get the value of it through this control ID within the automation scrip ?
    Any help much appreciated. 

    #Customizations
    #Integrations
    #MaximoApplicationSuite
    #MaximoUserGroups

    ------------------------------
    Mohammad Moula
    eSolution
    ------------------------------


  • 2.  RE: How do I get the value of the Textbox through the control id in automation script ?

    Posted 06-05-2023 08:08

    I'm not sure why you would want to get the value of the textbox instead of the value of the field...

    But if the value of the field would be sufficient then you can retrieve it in the automation script through table relationships.

    From your print screen, the info displayed in the Textbox Properties > Attribute should be useful in finding the relationships to be used.



    ------------------------------
    Dragos Chitu
    EL
    ------------------------------



  • 3.  RE: How do I get the value of the Textbox through the control id in automation script ?

    Posted 06-05-2023 08:13

    That data is captured in the xml file that is the source of the application.  It is not captured in a database column that you can query from an automation script.



    ------------------------------
    Mark Fresa
    none
    ------------------------------



  • 4.  RE: How do I get the value of the Textbox through the control id in automation script ?

    Posted 06-07-2023 06:14
    So,

    Well, what about if I have two "Push buttons" and I'am calling an automation script with an action point. How do I distinguish from which push button the script is called ?

    Because each one of them will perform a different process.

    Thanks






  • 5.  RE: How do I get the value of the Textbox through the control id in automation script ?

    Posted 06-14-2023 02:37

    Hi Mohammad, 

    Pushbutton has a mxevent properties which decides which script launch point needs to be invoked. The mxevent associated with the push button determines it. In general, the mxevent and the script launch point must hold the same name for a script to be invoked from a push button event. In addition to that a signature option also needs to be configured with the same name (which specifies this is an action which will be invoked from a user interface). You need to also provide the security group access to the signature option so that it can work.



    ------------------------------
    Subhransu Sekhar Sahoo
    Tata Consultancy Services
    ------------------------------