In Maximo 7.6.1.1 IBM has greatly improved the service implicit variable to provide a lot of useful methods to interact with the user interface. Two good examples are:
service.openURL(String url, boolean newWindow)
service.launchDialog(String dialogId)
For a full reference of the service methods refer to this page.
There is very important method that can be used to get a reference to the current user session:
wcs = service.webclientsession()
This will return a reference to a WebClientSession object. Explore the JavaDocs to find out what can be done.
Among others, the getCurrentApp() method will return a reference to the AppInstance object that has tons of other useful methods:
app = service.webclientsession().getCurrentApp()
All these functions need quite good experience to be leveraged successfully but certainly brakes any barrier to the use of automation scripting for any kind of customization.
Thank you for posting this Bruno!
I have tried openURL and gotoApplink methods to navigate to automatically navigate the user to another application as if we click on the Go To Application option beside the field. For example going from Work Order Application to Locations application by using the goto chevron on the location field.
Can you give me some idea how it can be done?
Appreciate your help!