Maximo

 View Only
  • 1.  Invoke External URL from Automation script

    Posted Sat May 21, 2022 10:51 AM
    Hi,

    Is there a way to invoke external URL like google.com from automation script or is there a way to invoke launch in context from automation script ? 
    Thanks in advance.

    ------------------------------
    MAX092012
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Invoke External URL from Automation script

    Posted Fri May 27, 2022 10:32 AM
    If you're only trying to open a new tab to a website, utilize an ACTION launch point automation script with either a push button or select action menu option and have this as your script:

    service.openURL("https://google.com",True)

    That will cause google.com to open in a new tab. You can't interact with the page after and the rest of your script would fire immediately. The script doesn't wait for them to close the page for example.

    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Invoke External URL from Automation script

    Posted Wed August 09, 2023 08:32 AM

    Steven,

    Is there a way to open an external URL in the same tab?

    -Thanks,

    Prashanth C



    ------------------------------
    Prashanth C
    Systems Analyst
    Southern Company
    Atlanta GA
    ------------------------------



  • 4.  RE: Invoke External URL from Automation script

    Posted Wed August 09, 2023 12:08 PM

    That second parameter technically is supposed to indicate whether it should open in a new window based on the name but it doesn't seem to work. There's a concept called launch in context in Maximo that does allow you to control whether it's the same window or new tab and I imagine there's a way to do something like it. I haven't done it though (outside of launch in context) so I don't have it documented as to how to do it. 



    ------------------------------
    Steven Shull
    ------------------------------



  • 5.  RE: Invoke External URL from Automation script

    IBM Champion
    Posted Thu August 10, 2023 02:14 AM

    Hi Prashanth,

    there is a way to open URL in the same window in Java and it should also work in automation script:

    wcs = service.webclientsession()
    wcs.gotoApplink("https://google.com")



    ------------------------------
    Witold Wierzchowski
    ------------------------------



  • 6.  RE: Invoke External URL from Automation script

    Posted 11 hours ago

    Hello @Witold @Steven Shull

    Is there a way to invoke any maximo app using webclientsession.

    I am trying to navigate to one of the maximo mobile application on click of a button from within Maximo app.

    Any pointers would be helpful.

    Thanks



    ------------------------------
    Meghana Siriveli
    ------------------------------