Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Open SR/WO In New Tab

    Posted Sun September 21, 2025 08:27 AM

    Is it available to open the SR or the WO in a new tab on the browser by just clicking on the ID?



    ------------------------------
    Abdullah Blal
    Software Engineer
    Megasoft
    Giza
    +201155119254
    ------------------------------


  • 2.  RE: Open SR/WO In New Tab

    Posted Mon September 22, 2025 01:05 AM

    Maybe this can be applied also to table https://www.ibm.com/support/pages/linking-assets-application-dynamically-assetuid

    In second step then use for Target Browser Window: _blank

    Maybe in DB table new attribute needs to be added, where You copy SR or WO num, and then use it as first column in tables, so not to conflict with original field. 

    Just an idea. Maybe will try during day or this week.



    ------------------------------
    Juris Flugins
    Expert IT Consultant
    TROIA d.o.o
    Jurmala
    ------------------------------



  • 3.  RE: Open SR/WO In New Tab

    Posted Mon September 22, 2025 08:12 AM

    Adding a button to use launch in context would work, however, I would advise against it. Behind the scenes, each tab/browser window establishes its own webclientsession. This ensures that you can click a button on one tab without impacting another. This is capped to 10 UI sessions by default which means that after someone opened 10 tabs, they would start to get an error and be unable to open anymore. 

    While this setting can be changed (including to unlimited to avoid the error), it would leave stale session data in memory. I have seen in some customer instances where this ends up utilizing a large percentage of the heap size which could lead to the JVM running out of heap space and crashing. 



    ------------------------------
    Steven Shull
    Principal Maximo Solutions Engineer
    Naviam
    Cincinnati OH
    ------------------------------



  • 4.  RE: Open SR/WO In New Tab

    Posted Wed September 24, 2025 04:58 AM

    I think your warning is a valid one, but I will use it in a very specific case, so this is not my awareness now.



    ------------------------------
    Abdullah Blal
    Software Engineer
    Megasoft
    Giza
    +201155119254
    ------------------------------



  • 5.  RE: Open SR/WO In New Tab

    Posted 14 days ago

    Option 1: Modify Application Designer (XML or UI)

    1. Go to System Configuration > Platform Configuration > Application Designer

    2. Open the relevant app (e.g., WOTRACK, SR)

    3. Locate the field or table control displaying the ID (e.g., WONUM, TICKETID)

    4. Add a hyperlink control or modify the existing one to include:

      xml
      <a href="javascript:window.open('/maximo/ui/?event=loadapp&value=WOTRACK&uniqueid=12345','_blank')">WONUM</a>
      

      Replace 12345 with a dynamic reference to the record's unique ID.

    Option 2: Use UI Script or Automation Script You can inject JavaScript via a UI script to override the click behavior:

    javascript
    document.querySelectorAll('.your-id-class').forEach(function(el) {
      el.addEventListener('click', function(e) {
        e.preventDefault();
        window.open(el.href, '_blank');
      });
    });
    

    Option 3: Use Launch in Context (LIC) If you're using Launch in Context, you can configure the link to open in a new tab by setting the target to _blank.



    ------------------------------
    Mohamed Moussa
    ------------------------------



  • 6.  RE: Open SR/WO In New Tab

    Posted Wed September 24, 2025 04:59 AM

    @Juris Flugins,

    I will try it and tell you the feedback, and if you have tried, please tell me the response.



    ------------------------------
    Abdullah Blal
    Software Engineer
    Megasoft
    Giza
    +201155119254
    ------------------------------



  • 7.  RE: Open SR/WO In New Tab

    Posted Sun September 28, 2025 07:31 PM

    Hi Abdullah,

    I have to ask, why?  Having a new tab/window open each time you select a record from the list is not great for system resources or processes. The only use case I can think of why you would want that behaviour is comparing two or more records, but even that is not a great use case.  When you want to go to another record, do you close the tab/browser or leave it open?

    Have a look at the need for the request.  There are reasons it's designed the way it is.



    ------------------------------
    Regards, Craig Kokay
    Princpal Consultant, COSOL
    https://cosol.global/

    Ph: +61-411-682-040
    email: craig.kokay@cosol.global
    #IBMChampion
    ------------------------------