Maximo

Maximo-ICON.png

Maximo

Learn how to increase the operational efficiency of the assets you manage, and improve overall equipment effectiveness by using IoT data and AI.

Maximo-ICON.png

TRIRIGA

Reduce the operational costs of the facilities you manage, and create more engaging occupant experiences through the application of IoT data and AI.

Maximo-ICON.png

Engineering

Learn how IoT data and AI are being applied to transform the end-to-end engineering lifecycle.

Expand all | Collapse all

New java classes & methods in 7.6.1.2?

  • 1.  New java classes & methods in 7.6.1.2?

    Posted Sun August 09, 2020 12:30 AM
    Regarding Maximo 7.6.1.2:

    Does anyone have any information about new Java classes or methods that might have been added to the new version?

    For instance, back in 2019, there was a rumor that there was a new class/method that would allow us to open a URL in a new tab in the browser (via an automation script).

    Any leads?


  • 2.  RE: New java classes & methods in 7.6.1.2?

    Posted Mon August 10, 2020 08:00 AM

    Each release there are a ton of changes which we slowly unravel as time goes on. For example, while not documented anywhere I've seen yet, there is now a date specification (on TICKET/TICKETSPEC only). 

    As for your automation script examples, there were 3 things added to the service (ScriptService) that are all pretty useful. 

    1) Your open URL example. service.openURL(String url, boolean newWindow)
    2) Launch a dialog. service.launchDialog(String dialogId)
    3) service.getMboSet(String mboSetName, UserInfo userInfo)

    The first two are pretty self-explanatory, the last one is when you have to use the MXServer.getMXServer().getMboSet syntax because you're running in a cron task or don't want to get a child set for some reason. It doesn't save a lot of code, but allows you to remove an import which is always nice. 



    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------