IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

METHOD to return MWS VERSION to portlet?

  • 1.  METHOD to return MWS VERSION to portlet?

    Posted Wed October 27, 2010 05:57 PM

    Hello:

    I’d like to be able to warn my users if they are using my app on IE8 if it’s not deployed on MWS 7.1.3 or greater.

    Obviously, I could set up an environment variable to serve this purpose, but it would be cleaner if I could query the server to find out what version is it.

    Is there a method to do this?

    Thanks a million,

    Lucas.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: METHOD to return MWS VERSION to portlet?

    Posted Wed October 27, 2010 06:06 PM

    You should be able to call this API:

    com.webmethods.portal.system.impl.BuildVersion.getInstalledVersion();

    Regards,
    –mark


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: METHOD to return MWS VERSION to portlet?

    Posted Wed October 27, 2010 06:11 PM

    Will do. Thanks a ton, as always!


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine